Skip to content

Commit

Permalink
mesa-vpu: use kisak mesa ppa instead of oibaf
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingfate authored and igorpecovnik committed Jul 21, 2024
1 parent e403222 commit ec83684
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions extensions/mesa-vpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function extension_prepare_config__3d() {

elif [[ "${DISTRIBUTION}" == "Ubuntu" ]]; then

EXTRA_IMAGE_SUFFIXES+=("-oibaf")
EXTRA_IMAGE_SUFFIXES+=("-kisak")

fi

Expand Down Expand Up @@ -62,13 +62,13 @@ function post_install_kernel_debs__3d() {

elif [[ "${DISTRIBUTION}" == "Ubuntu" ]]; then

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

display_alert "Pinning oibaf PPAs" "${EXTENSION}" "info"
cat <<- EOF > "${SDCARD}"/etc/apt/preferences.d/mesa-oibaf-graphics-drivers-pin
display_alert "Pinning kisak PPAs" "${EXTENSION}" "info"
cat <<- EOF > "${SDCARD}"/etc/apt/preferences.d/mesa-kisak-kisak-mesa-pin
Package: *
Pin: release o=LP-PPA-oibaf-graphics-drivers
Pin: release o=LP-PPA-kisak-kisak-mesa
Pin-Priority: 1001
EOF

Expand All @@ -94,7 +94,7 @@ function post_install_kernel_debs__3d() {
EOF
fi

display_alert "Updating sources list, after oibaf PPAs" "${EXTENSION}" "info"
display_alert "Updating sources list, after kisak PPAs" "${EXTENSION}" "info"
do_with_retries 3 chroot_sdcard_apt_get_update

display_alert "Installing 3D extension packages" "${EXTENSION}" "info"
Expand Down

0 comments on commit ec83684

Please sign in to comment.