From 7072e8b02cb11d2774360dafe20a898cc915c8d8 Mon Sep 17 00:00:00 2001 From: Steve McIntyre <93sam@debian.org> Date: Wed, 26 Sep 2012 09:45:05 +0000 Subject: [PATCH] Add /sbin and /usr/sbin to PATH, needed for mkfs.msdos and maybe other tools --- tools/boot/wheezy/common.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/boot/wheezy/common.sh b/tools/boot/wheezy/common.sh index e6e11f5b..ed2be24a 100644 --- a/tools/boot/wheezy/common.sh +++ b/tools/boot/wheezy/common.sh @@ -1,6 +1,10 @@ # This file provides some common code that is intented to be called # by the various boot- scripts. +# Make sure that sbin directories are on the PATH too - filesystem +# creation tools are often hidden there +PATH=/sbin:/usr/sbin:$PATH +export PATH # Expand %ARCH% variable in envvars for location of D-I images DI_WWW_HOME="$(echo "$DI_WWW_HOME" | sed -e "s|%ARCH%|$ARCH|g")"