]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
build initramfs: prelink --undo /sbin/*
authorJohn Reiser <jreiser@bitwagon.com>
Fri, 19 Aug 2011 03:55:35 +0000 (20:55 -0700)
committerHarald Hoyer <harald@redhat.com>
Fri, 19 Aug 2011 06:10:57 +0000 (08:10 +0200)
Fix a typo (omitting the 's' in "sbin") which caused
"prelink --undo" twice on      /bin/*,  and
"prelink --undo" omitted for  /sbin/*.

dracut

diff --git a/dracut b/dracut
index dfa71a1da5e23597564ce3bbdd7dbc2520d379c9..fd36805b73df0ef368b04f9e71f73ce379725078 100755 (executable)
--- a/dracut
+++ b/dracut
@@ -643,7 +643,7 @@ type hardlink &>/dev/null && {
 
 if strstr "$modules_loaded" " fips " && command -v prelink >/dev/null; then
     for i in $initdir/bin/* \
-       $initdir/bin/* \
+       $initdir/sbin/* \
        $initdir/usr/bin/* \
        $initdir/usr/sbin/*; do
        [ -x $i ] && prelink -u $i &>/dev/null