mesa-vpu: add chromium back for debian and noble

This commit is contained in:
amazingfate
2025-02-17 11:57:47 +08:00
committed by Jianfeng Liu
parent 475e28056b
commit b2d38b2c2b

View File

@@ -87,9 +87,13 @@ function post_install_kernel_debs__3d() {
Pin: release o=LP-PPA-kisak-kisak-mesa Pin: release o=LP-PPA-kisak-kisak-mesa
Pin-Priority: 1001 Pin-Priority: 1001
EOF EOF
fi
# Add chromium if building a desktop # Add chromium if building a desktop
if [[ "${BUILD_DESKTOP}" == "yes" ]]; then if [[ "${BUILD_DESKTOP}" == "yes" ]]; then
if [[ "${DISTRIBUTION}" == "Debian" ]]; then
pkgs+=("chromium")
elif [[ "${DISTRIBUTION}" == "Ubuntu" && "${RELEASE}" =~ ^(jammy|noble)$ ]]; then
pkgs+=("chromium") pkgs+=("chromium")
fi fi
fi fi