]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Require fipscheck and libssl in FIPS module
authorMilan Broz <mbroz@redhat.com>
Thu, 23 Aug 2012 17:55:27 +0000 (19:55 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 24 Aug 2012 07:26:59 +0000 (09:26 +0200)
To properly perform verification in FIPS mode,
we need to install fipscheck and libssl explicitly.

(cryptsetup seems to be the first user of this verification in ramdisk...)

Signed-off-by: Milan Broz <mbroz@redhat.com>
modules.d/01fips/module-setup.sh

index 2517964aa7600c297248578cfdba04c0f9dfebed..103a4795239183fac6e01d8da3f1c94dc79e45c6 100755 (executable)
@@ -33,11 +33,11 @@ install() {
     inst_hook pre-pivot 01 "$moddir/fips-noboot.sh"
     inst_script "$moddir/fips.sh" /sbin/fips.sh
 
-    dracut_install sha512hmac rmmod insmod mount uname umount
+    dracut_install sha512hmac rmmod insmod mount uname umount fipscheck
 
     inst_libdir_file libsoftokn3.so libsoftokn3.so \
         libsoftokn3.chk libfreebl3.so libfreebl3.chk \
-        'hmaccalc/sha512hmac.hmac'
+        libssl.so 'hmaccalc/sha512hmac.hmac'
 
     dracut_install -o prelink
 }