From 8f01eea1f87f6bbeb9a79a33ab13217771c9c4c9 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Fri, 23 Aug 2024 14:04:24 +0200 Subject: [PATCH] Mesa fixes applies only to armhf and arm64. Adjusting --- extensions/mesa-vpu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/mesa-vpu.sh b/extensions/mesa-vpu.sh index 9ceb5b67e..e6f8c38a7 100644 --- a/extensions/mesa-vpu.sh +++ b/extensions/mesa-vpu.sh @@ -153,7 +153,7 @@ function post_install_kernel_debs__3d() { do_with_retries 3 chroot_sdcard_apt_get_install "${pkgs[@]}" # This library gets downgraded - if [[ "${RELEASE}" =~ ^(oracular|noble|jammy)$ ]]; then + if [[ "${RELEASE}" =~ ^(oracular|noble|jammy)$ && "${ARCH}" == arm* ]]; then do_with_retries 3 chroot_sdcard apt-mark hold libdav1d7 fi @@ -162,7 +162,7 @@ function post_install_kernel_debs__3d() { # KDE neon downgrade hack undo do_with_retries 3 chroot_sdcard apt-mark unhold base-files - if [[ "${RELEASE}" =~ ^(oracular|noble|jammy)$ ]]; then + if [[ "${RELEASE}" =~ ^(oracular|noble|jammy)$ && "${ARCH}" == arm* ]]; then do_with_retries 3 chroot_sdcard apt-mark unhold libdav1d7 fi