From 9895cbe2ab6bf7f926ddb825ff6a9153e1c10030 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Thu, 3 Oct 2024 17:34:00 +0200 Subject: [PATCH] mesa-vpu: don't install mesa-vpu on minimal images --- extensions/mesa-vpu.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extensions/mesa-vpu.sh b/extensions/mesa-vpu.sh index 51f7b3abb..12e421c33 100644 --- a/extensions/mesa-vpu.sh +++ b/extensions/mesa-vpu.sh @@ -9,6 +9,12 @@ function extension_prepare_config__3d() { # Silently deny old releases which are not supported but are still in the system [[ "${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 [[ "${DESKTOP_ENVIRONMENT}" == "xfce" || "${DESKTOP_ENVIRONMENT}" == "i3-wm" ]] && return 0