mkrootfs: die if $QEMU_BIN is not in PATH.
This commit is contained in:
parent
a7ed58c4fb
commit
c332eae781
@ -155,6 +155,9 @@ for f in chroot tar xbps-install xbps-reconfigure xbps-query; do
|
|||||||
die "$f binary is missing in your system, exiting."
|
die "$f binary is missing in your system, exiting."
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if ! $QEMU_BIN -version >/dev/null 2>&1; then
|
||||||
|
die "$QEMU_BIN binary is missing in your system, exiting."
|
||||||
|
fi
|
||||||
if type pixz >/dev/null 2>&1; then
|
if type pixz >/dev/null 2>&1; then
|
||||||
XZ=pixz
|
XZ=pixz
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user