[PATCH mkinitrd 5.4 fips] Dont copy prelink (#505113)

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

 



prelink is not needed anymore and not available on ia64 so don't copy
it to the initrd when in fips mode.
In fips mode prelink must be disabled, so we don't need it and on ia64
there is no prelink causing mkinitrd to fail there. This fixes this
by simply removing prelink from the initrd.
diff -up mkinitrd-5.1.19.6/mkinitrd~ mkinitrd-5.1.19.6/mkinitrd
--- mkinitrd-5.1.19.6/mkinitrd~	2009-06-11 11:36:28.000000000 +0200
+++ mkinitrd-5.1.19.6/mkinitrd	2009-06-11 11:45:12.973862927 +0200
@@ -1697,10 +1697,6 @@ if [ "$withfips" -eq 1 ]; then
 
     inst /usr/$libdir/hmaccalc/sha512hmac.hmac $MNTIMAGE/usr/$libdir/hmaccalc/sha512hmac.hmac
 
-    # sha512hmac needs prelink to unprelink itself for verification
-    inst /usr/sbin/prelink $MNTIMAGE/sbin/prelink
-    inst /etc/prelink.conf $MNTIMAGE/etc/prelink.conf
-
     # rmmod to rmmod tcrypt when we're done with it. Note rmmod is also
     # dynmically linked, but sha512hmac already brings in all needed libs
     inst /sbin/rmmod $MNTIMAGE/bin/rmmod
_______________________________________________
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