Extension V4L2: disable installation on minimal images

This commit is contained in:
Igor Pecovnik
2025-02-24 11:33:58 +01:00
committed by Igor
parent 70c10c4df0
commit e4837dd90e

View File

@@ -1,4 +1,9 @@
function extension_finish_config__build_v4l2loopback_dkms_kernel_module() {
# Deny on minimal CLI images
if [[ "${BUILD_MINIMAL}" == "yes" ]]; then
display_alert "Extension: ${EXTENSION}" "skip installation in minimal images" "warn"
return 0
fi
if [[ "${KERNEL_HAS_WORKING_HEADERS}" != "yes" ]]; then
display_alert "Kernel version has no working headers package" "skipping v4l2loopback-dkms for kernel v${KERNEL_MAJOR_MINOR}" "warn"
return 0