[PATCH 1/2] Install dracut-fips package when fips=1 is specified (#692350)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux