Add /sbin and /usr/sbin to PATH, needed for mkfs.msdos and maybe other tools

This commit is contained in:
Steve McIntyre 2012-09-26 09:45:05 +00:00
parent b3436176c2
commit 7072e8b02c
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
# This file provides some common code that is intented to be called # This file provides some common code that is intented to be called
# by the various boot-<arch> scripts. # by the various boot-<arch> 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 # Expand %ARCH% variable in envvars for location of D-I images
DI_WWW_HOME="$(echo "$DI_WWW_HOME" | sed -e "s|%ARCH%|$ARCH|g")" DI_WWW_HOME="$(echo "$DI_WWW_HOME" | sed -e "s|%ARCH%|$ARCH|g")"