Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mesa-vpu: use kisak mesa ppa instead of oibaf #6979

Merged
merged 1 commit into from
Jul 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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