prepare-volatile-img: ensure that /usr/sbin in in the PATH
Build environment of LiveUSB does not contain /usr/sbin in path.
This commit is contained in:
parent
52d7de006b
commit
c4a28a943a
@ -6,6 +6,10 @@ fi
|
||||
|
||||
set -e
|
||||
|
||||
if ! echo $PATH | grep -q sbin; then
|
||||
PATH=$PATH:/sbin:/usr/sbin
|
||||
fi
|
||||
|
||||
FILENAME=$1
|
||||
ROOT_SIZE=$2
|
||||
SWAP_SIZE=$[ 1024 ]
|
||||
|
Loading…
Reference in New Issue
Block a user