Meta: Disallow running with QEMU >= 7.x on aarch64 build

This is currently broken upstream, and our aarch64 Kernel only runs with
QEMU 6.x.
This commit is contained in:
Timon Kruiper 2022-08-17 14:25:07 +02:00 committed by Linus Groh
parent 408e2f607a
commit a4dadaeb00
Notes: sideshowbarker 2024-07-17 10:31:19 +09:00

View file

@ -121,6 +121,13 @@ if [ "$installed_major_version" -lt "$SERENITY_QEMU_MIN_REQ_MAJOR_VERSION" ] ||
die
fi
# FIXME: Remove this once #14856 is resolved.
if [ "$SERENITY_ARCH" = "aarch64" ] && [ "$installed_major_version" -ge "7" ]; then
echo "The aarch64 Kernel currently does not support QEMU >= 7.0."
echo "Please install QEMU 6.2 or use the QEMU build script: 'QEMU_VERSION=\"qemu-6.2.0\" QEMU_MD5SUM=\"a077669ce58b6ee07ec355e54aad25be\" ./Toolchain/BuildQemu.sh'."
die
fi
NATIVE_WINDOWS_QEMU="0"
if command -v wslpath >/dev/null; then