Skip to content

Commit 8f01eea

Browse files
committed
Mesa fixes applies only to armhf and arm64. Adjusting
1 parent a26eb47 commit 8f01eea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/mesa-vpu.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function post_install_kernel_debs__3d() {
153153
do_with_retries 3 chroot_sdcard_apt_get_install "${pkgs[@]}"
154154

155155
# This library gets downgraded
156-
if [[ "${RELEASE}" =~ ^(oracular|noble|jammy)$ ]]; then
156+
if [[ "${RELEASE}" =~ ^(oracular|noble|jammy)$ && "${ARCH}" == arm* ]]; then
157157
do_with_retries 3 chroot_sdcard apt-mark hold libdav1d7
158158
fi
159159

@@ -162,7 +162,7 @@ function post_install_kernel_debs__3d() {
162162

163163
# KDE neon downgrade hack undo
164164
do_with_retries 3 chroot_sdcard apt-mark unhold base-files
165-
if [[ "${RELEASE}" =~ ^(oracular|noble|jammy)$ ]]; then
165+
if [[ "${RELEASE}" =~ ^(oracular|noble|jammy)$ && "${ARCH}" == arm* ]]; then
166166
do_with_retries 3 chroot_sdcard apt-mark unhold libdav1d7
167167
fi
168168

0 commit comments

Comments
 (0)