Ensure that /usr/sbin /usr/bin /sbin /bin is in PATH
Arch Linux does not have /bin or /sbin in PATH by default, so the script fails to execute extlinux, update-extlinux, mkfs.* etc.
This commit is contained in:
parent
ea6dcfe635
commit
a3462e896b
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@
|
|||
#---help---
|
||||
set -eu
|
||||
|
||||
# Some distros (e.g. Arch Linux) does not have /bin or /sbin in PATH.
|
||||
PATH="$PATH:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
||||
readonly PROGNAME='alpine-make-vm-image'
|
||||
readonly VERSION='0.4.0'
|
||||
readonly VIRTUAL_PKG=".make-$PROGNAME"
|
||||
|
|
Loading…
Reference in a new issue