From 5f2baf7dc68126efefea9f14bdeb43fb56c80c14 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 5 Sep 2014 16:42:59 +0200 Subject: [PATCH] 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 --- dracut.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut.sh b/dracut.sh index 9032bae9..35c69efe 100755 --- a/dracut.sh +++ b/dracut.sh @@ -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