Skip to content

Commit

Permalink
Extension V4L2: disable installation on minimal images
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Feb 24, 2025
1 parent 70c10c4 commit e4837dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions extensions/v4l2loopback-dkms.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e4837dd

Please sign in to comment.