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

[rhel6-branch] Add hmac checksums to the initrd image (#568295)



This fixes the crash when running in FIPS mode
---
 scripts/mk-images |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index f8a4381..1b741d8 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -850,6 +850,9 @@ makeinitrd() {
     mkdir -p $MBD_DIR/var/lib
     ln -s ../../tmp $MBD_DIR/var/lib/xkb
 
+    # copy hmac files for openssl
+    cp $IMGPATH/usr/$LIBDIR/.*.hmac $MBD_DIR/usr/$LIBDIR/
+
     setupSshd
 
 cat > $MBD_DIR/.profile <<EOF
-- 
1.6.6


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