diff --git a/extensions/mesa-vpu.sh b/extensions/mesa-vpu.sh index 4d200620126d..054b68b8ef20 100644 --- a/extensions/mesa-vpu.sh +++ b/extensions/mesa-vpu.sh @@ -87,9 +87,13 @@ function post_install_kernel_debs__3d() { Pin: release o=LP-PPA-kisak-kisak-mesa Pin-Priority: 1001 EOF + fi - # Add chromium if building a desktop - if [[ "${BUILD_DESKTOP}" == "yes" ]]; then + # Add chromium if building a desktop + if [[ "${BUILD_DESKTOP}" == "yes" ]]; then + if [[ "${DISTRIBUTION}" == "Debian" ]]; then + pkgs+=("chromium") + elif [[ "${DISTRIBUTION}" == "Ubuntu" && "${RELEASE}" =~ ^(jammy|noble)$ ]]; then pkgs+=("chromium") fi fi