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:
Marek Marczykowski-Górecki 2015-07-31 00:29:09 +02:00
parent 52d7de006b
commit c4a28a943a
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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 ]