projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d20d307
)
dracut: honor binaries in sbin first
author
Harald Hoyer
<harald@redhat.com>
Thu, 9 Feb 2012 12:58:13 +0000
(13:58 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 9 Feb 2012 12:58:13 +0000
(13:58 +0100)
dracut
patch
|
blob
|
history
diff --git
a/dracut
b/dracut
index
545f9db
..
fb46d70
100755
(executable)
--- a/
dracut
+++ b/
dracut
@@
-279,14
+279,14
@@
if ! [[ $kernel ]]; then
fi
[[ $outfile ]] || outfile="/boot/initramfs-$kernel.img"
-for i in /usr/
bin /bin /usr/sbin /s
bin; do
+for i in /usr/
sbin /sbin /usr/bin /
bin; do
rl=$i
if [ -L "$i" ]; then
rl=$(readlink -f $i)
fi
- NPATH
="$NPATH
:$rl"
+ NPATH
+="
:$rl"
done
-export PATH="$
NPATH
"
+export PATH="$
{NPATH#:}
"
unset NPATH
unset LD_LIBRARY_PATH
unset GREP_OPTIONS