FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS Development

 
 
LinkBack Thread Tools
 
Old 03-31-2011, 06:29 PM
David Cantrell
 
Default Install dracut-fips package when fips=1 is specified (#692350)

Required for FIPS certification.
---
platform.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/platform.py b/platform.py
index 8772b57..7871133 100644
--- a/platform.py
+++ b/platform.py
@@ -23,6 +23,7 @@
import iutil
import parted
import storage
+from flags import flags
from storage.errors import *
from storage.formats import *
from storage.partspec import *
@@ -157,6 +158,8 @@ class Platform(object):

@property
def packages (self):
+ if flags.cmdline.get('fips', None) == '1':
+ return self._packages + ['dracut-fips']
return self._packages

def setDefaultPartitioning(self):
--
1.7.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 10:42 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org