Skip to content

Commit

Permalink
Mesa fixes applies only to armhf and arm64. Adjusting
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Aug 23, 2024
1 parent a26eb47 commit 8f01eea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/mesa-vpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 8f01eea

Please sign in to comment.