mesa-vpu: don't install mesa-vpu on minimal images

This commit is contained in:
Igor Pecovnik
2024-10-03 17:34:00 +02:00
committed by Igor
parent 1901b884d2
commit 9895cbe2ab

View File

@@ -9,6 +9,12 @@ function extension_prepare_config__3d() {
# Silently deny old releases which are not supported but are still in the system # Silently deny old releases which are not supported but are still in the system
[[ "${RELEASE}" =~ ^(bullseye|buster|focal)$ ]] && return 0 [[ "${RELEASE}" =~ ^(bullseye|buster|focal)$ ]] && return 0
# Silently deny on minimal CLI images
if [[ "${BUILD_MINIMAL}" == "yes" ]]; then
display_alert "Extension: ${EXTENSION}" "skip installation in minimal images" "warn"
return 0
fi
# some desktops doesn't support wayland # some desktops doesn't support wayland
[[ "${DESKTOP_ENVIRONMENT}" == "xfce" || "${DESKTOP_ENVIRONMENT}" == "i3-wm" ]] && return 0 [[ "${DESKTOP_ENVIRONMENT}" == "xfce" || "${DESKTOP_ENVIRONMENT}" == "i3-wm" ]] && return 0