dracut.sh: change the PATH we search for our binaries

/sbin /bin versions should be used over /usr/sbin and /usr/bin versions,
because non-usr is meant for early boot.

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755271
master
Harald Hoyer 2014-09-05 16:42:59 +02:00
parent 8a203398ef
commit 5f2baf7dc6
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ for f in $(dropindirs_sort ".conf" "$confdir" "$dracutbasedir/dracut.conf.d"); d
[[ -e $f ]] && . "$f"
done

DRACUT_PATH=${DRACUT_PATH:-/usr/sbin /sbin /usr/bin /bin}
DRACUT_PATH=${DRACUT_PATH:-/sbin /bin /usr/sbin /usr/bin}

for i in $DRACUT_PATH; do
rl=$i