Skip to content

Commit

Permalink
mesa-vpu: only add kisak ppa for jammy
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingfate committed Feb 3, 2025
1 parent 06802ce commit 8138c8b
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 @@ -21,7 +21,7 @@ function extension_prepare_config__3d() {
# Define image suffix
if [[ "${LINUXFAMILY}" =~ ^(rockchip-rk3588|rk35xx)$ && "$BRANCH" =~ ^(legacy)$ && "${RELEASE}" =~ ^(jammy|noble)$ ]]; then
EXTRA_IMAGE_SUFFIXES+=("-panfork")
elif [[ "${DISTRIBUTION}" == "Ubuntu" ]]; then
elif [[ "${DISTRIBUTION}" == "Ubuntu" && "${RELEASE}" =~ ^(jammy)$ ]]; then
EXTRA_IMAGE_SUFFIXES+=("-kisak")
elif [[ "${DISTRIBUTION}" == "Debian" && "${RELEASE}" == "bookworm" ]]; then
EXTRA_IMAGE_SUFFIXES+=("-backported-mesa")
Expand Down Expand Up @@ -76,7 +76,7 @@ function post_install_kernel_debs__3d() {

sed -i "s/noble/jammy/g" "${SDCARD}"/etc/apt/sources.list.d/liujianfeng1994-ubuntu-panfork-mesa-"${RELEASE}".*

elif [[ "${DISTRIBUTION}" == "Ubuntu" ]]; then
elif [[ "${DISTRIBUTION}" == "Ubuntu" && "${RELEASE}" =~ ^(jammy)$ ]]; then

display_alert "Adding kisak PPAs" "${EXTENSION}" "info"
do_with_retries 3 chroot_sdcard add-apt-repository ppa:kisak/kisak-mesa --yes --no-update
Expand Down

0 comments on commit 8138c8b

Please sign in to comment.