check for qemu-system-arm

This commit is contained in:
nacho 2017-09-04 15:46:13 +02:00
parent aacd9160e4
commit 2566eef8ca
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@ BINARY_PATH=/usr/bin # path prefix for binaries
NO_GRAPHIC=0 # set to 1 to start in no graphic mode
# sanity checks
test -f $IMG && test -f $KERNEL || { echo "$IMG or $KERNEL not found"; exit; }
type qemu-system-arm &>/dev/null || { echo "QEMU ARM not found" ; exit 1; }
test -f $IMG && test -f $KERNEL || { echo "$IMG or $KERNEL not found"; exit 1; }
[[ "$IFACE" == "" ]] || [[ "$BRIDGE" == "" ]] && NO_NETWORK=1