Skip to content

Commit

Permalink
KDE Neon: hack must be implemented only on Ubuntu Noble / Oracular
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Aug 19, 2024
1 parent 4ffe5bc commit 9760ad0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions extensions/mesa-vpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,18 @@ function post_install_kernel_debs__3d() {
do_with_retries 3 chroot_sdcard_apt_get_install "${pkgs[@]}"

# This library gets downgraded
do_with_retries 3 chroot_sdcard apt-mark hold libdav1d7
if [[ "${RELEASE}" =~ ^(oracular|noble)$ ]]; then
do_with_retries 3 chroot_sdcard apt-mark hold libdav1d7
fi

display_alert "Upgrading Mesa packages" "${EXTENSION}" "info"
do_with_retries 3 chroot_sdcard_apt_get dist-upgrade

# KDE neon downgrade hack undo
do_with_retries 3 chroot_sdcard apt-mark unhold base-files libdav1d7
do_with_retries 3 chroot_sdcard apt-mark unhold base-files
if [[ "${RELEASE}" =~ ^(oracular|noble)$ ]]; then
do_with_retries 3 chroot_sdcard apt-mark unhold libdav1d7
fi

# Disable wayland flag for XFCE
#if [[ "${DESKTOP_ENVIRONMENT}" == "xfce" ]]; then
Expand Down

0 comments on commit 9760ad0

Please sign in to comment.