only check for qemu conf if host architecture is not aarch64
This commit is contained in:
parent
01dcb47cb4
commit
ff6b690871
|
|
@ -7,6 +7,7 @@
|
|||
# Set globals
|
||||
TMPDIR=/var/tmp/manjaro-arm-installer
|
||||
ARCH='aarch64'
|
||||
CARCH=$(uname -m)
|
||||
NSPAWN='systemd-nspawn -q --resolv-conf=copy-host --timezone=off -D'
|
||||
|
||||
# set colorscheme
|
||||
|
|
@ -50,10 +51,12 @@ for i in "${DEPENDNECIES[@]}"; do
|
|||
fi
|
||||
done
|
||||
|
||||
if [[ "$CARCH" != "aarch64" ]]; then
|
||||
if [ ! -f "/usr/lib/binfmt.d/qemu-static.conf" ]; then
|
||||
echo "qemu-static.conf file is missing. Please install the relevant package."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# Functions
|
||||
|
|
|
|||
Loading…
Reference in New Issue