summaryrefslogtreecommitdiff
path: root/Meta/run.sh
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2022-08-17 14:25:07 +0200
committerLinus Groh <mail@linusgroh.de>2022-08-17 15:44:38 +0100
commita4dadaeb003c42bde315960d387281dd4a323242 (patch)
tree80570fed93ef4e2297af0cb386b32d2ab91631d7 /Meta/run.sh
parent408e2f607a286943cbe758401411822270641dfd (diff)
downloadserenity-a4dadaeb003c42bde315960d387281dd4a323242.zip
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.
Diffstat (limited to 'Meta/run.sh')
-rwxr-xr-xMeta/run.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/Meta/run.sh b/Meta/run.sh
index 62080175f9..8d8f72d56a 100755
--- a/Meta/run.sh
+++ b/Meta/run.sh
@@ -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