Skip to contentSkip to conversation

build initramfs: prelink --undo /sbin/*

PATCH John Reiser 2 participants 2 messages Aug 19, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Fix a typo (omitting the 's' in "sbin") which caused
"prelink --undo" twice on /bin/*, and
"prelink --undo" omitted for /sbin/*.

dracut +1 -1
index cf27b23..601fb6c 100755
@@ -642,7 +642,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
 

A message that is not in the archive (sent off-list or not yet received): 4E4DDEB7.3050602-Po6cBsTGB2ZWk0Htik3J/[email protected]

#2 lore raw
Quoted 9 lines · John Reiser

Fix a typo (omitting the 's' in "sbin") which caused
"prelink --undo" twice on /bin/*, and
"prelink --undo" omitted for /sbin/*.

dracut +0 -0
index cf27b23..601fb6c 100755

dracut type hardlink &>/dev/null && { · line 648

Quoted 8 lines
dracut +1 -1
@@ -642,7 +642,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
 

Thank you! Pushed!