Blame 0008-build-initramfs-prelink-undo-sbin.patch

Harald Hoyer 55891e
From bc313467bdb49605aaddfec67823cab72396c29b Mon Sep 17 00:00:00 2001
Harald Hoyer 55891e
From: John Reiser <jreiser@bitwagon.com>
Harald Hoyer 55891e
Date: Thu, 18 Aug 2011 20:55:35 -0700
Harald Hoyer 55891e
Subject: [PATCH] build initramfs: prelink --undo /sbin/*
Harald Hoyer 55891e
Harald Hoyer 55891e
Fix a typo (omitting the 's' in "sbin") which caused
Harald Hoyer 55891e
"prelink --undo" twice on      /bin/*,  and
Harald Hoyer 55891e
"prelink --undo" omitted for  /sbin/*.
Harald Hoyer 55891e
---
Harald Hoyer 55891e
 dracut |    2 +-
Harald Hoyer 55891e
 1 files changed, 1 insertions(+), 1 deletions(-)
Harald Hoyer 55891e
Harald Hoyer 55891e
diff --git a/dracut b/dracut
Harald Hoyer 55891e
index dfa71a1..fd36805 100755
Harald Hoyer 55891e
--- a/dracut
Harald Hoyer 55891e
+++ b/dracut
Harald Hoyer 55891e
@@ -643,7 +643,7 @@ type hardlink &>/dev/null && {
Harald Hoyer 55891e
 
Harald Hoyer 55891e
 if strstr "$modules_loaded" " fips " && command -v prelink >/dev/null; then
Harald Hoyer 55891e
     for i in $initdir/bin/* \
Harald Hoyer 55891e
-       $initdir/bin/* \
Harald Hoyer 55891e
+       $initdir/sbin/* \
Harald Hoyer 55891e
        $initdir/usr/bin/* \
Harald Hoyer 55891e
        $initdir/usr/sbin/*; do
Harald Hoyer 55891e
        [ -x $i ] && prelink -u $i &>/dev/null