mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
mesa-vpu: don't install mesa-vpu on minimal images
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user