nits for nyx build script

This commit is contained in:
vanhauser-thc 2022-01-31 09:00:01 +01:00
parent 53eb5ba2fb
commit dd9003e59b

View File

@ -13,6 +13,13 @@ if [ ! "`uname -s`" = "Linux" ]; then
fi
if [ ! "`uname -m`" = "x86_64" ]; then
echo "[-] Error: Nyx mode is only available on x86_64 (yet)."
exit 0
fi
echo "[*] Making sure all Nyx is checked out"
git status 1>/dev/null 2>/dev/null
@ -34,9 +41,9 @@ else
fi
test -d QEMU-Nyx/.git || { echo "[-] Not checked out, please install git or check your internet connection." ; exit 1 ; }
test -d packer/.git || { echo "[-] Not checked out, please install git or check your internet connection." ; exit 1 ; }
test -d libnyx/.git || { echo "[-] Not checked out, please install git or check your internet connection." ; exit 1 ; }
test -d packer/.git || { echo "[-] packer not checked out, please install git or check your internet connection." ; exit 1 ; }
test -d libnyx/.git || { echo "[-] libnyx not checked out, please install git or check your internet connection." ; exit 1 ; }
test -d QEMU-Nyx/.git || { echo "[-] QEMU-Nyx not checked out, please install git or check your internet connection." ; exit 1 ; }
echo "[*] checking packer init.cpio.gz ..."
if [ ! -f "packer/linux_initramfs/init.cpio.gz" ]; then