From 45e9b865938ee56b0290d6eace573449661ed170 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Oct 07 2023 14:57:12 +0000 Subject: platforms: Disable BTI by default in all images Back in Fedora Linux 33, the AArch64 variant of the distribution started being compiled with pointer authentication and branch protection. However, it turns out that there were no ARM CPUs that actually used the feature until Apple's release of the M2-powered Macs. The Apple M2 supports BTI, which wound up being the first generally available ARM CPU to activate this code path. Unfortunately, Chromium has not been adapted to support ARM CPUs with BTI and crashes on launch instead. Until Google fixes this, we're stuck. So, for now, let's disable this at runtime so that we can still point to Chromium developers how to enable the broken setup. Reference: https://fedoraproject.org/wiki/Changes/Aarch64_PointerAuthentication Reference: https://pagure.io/fedora-asahi/project/issue/15 --- diff --git a/platforms/minimal.xml b/platforms/minimal.xml index c9f17fa..c7f7066 100644 --- a/platforms/minimal.xml +++ b/platforms/minimal.xml @@ -6,7 +6,7 @@ - + diff --git a/platforms/server.xml b/platforms/server.xml index 2f4a067..59c3fa8 100644 --- a/platforms/server.xml +++ b/platforms/server.xml @@ -6,7 +6,7 @@ - + diff --git a/platforms/workstation.xml b/platforms/workstation.xml index e47b5b0..1b1d519 100644 --- a/platforms/workstation.xml +++ b/platforms/workstation.xml @@ -14,7 +14,7 @@ - +