Skip to content

Commit

Permalink
v4l2loopback-dkms: do not restrict to desktops only
Browse files Browse the repository at this point in the history
- undoes baeaee6
- as I use this for debugging general dkms issues, even in non-desktops
  • Loading branch information
rpardini authored and igorpecovnik committed Jan 5, 2025
1 parent 4573911 commit 3894e92
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions extensions/v4l2loopback-dkms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ function extension_finish_config__build_v4l2loopback_dkms_kernel_module() {
display_alert "Kernel version has no working headers package" "skipping v4l2loopback-dkms for kernel v${KERNEL_MAJOR_MINOR}" "warn"
return 0
fi
[[ "${BUILD_DESKTOP}" != "yes" ]] && return 0
declare -g INSTALL_HEADERS="yes"
display_alert "Forcing INSTALL_HEADERS=yes; for use with v4l2loopback-dkms" "${EXTENSION}" "debug"
}

function post_install_kernel_debs__build_v4l2loopback_dkms_kernel_module() {
[[ "${INSTALL_HEADERS}" != "yes" ]] || [[ "${KERNEL_HAS_WORKING_HEADERS}" != "yes" ]] && return 0
[[ "${BUILD_DESKTOP}" != "yes" ]] && return 0
display_alert "Install v4l2loopback-dkms packages, will build kernel module in chroot" "${EXTENSION}" "info"
declare -g if_error_detail_message="v4l2loopback-dkms build failed, extension 'v4l2loopback-dkms'"
declare -ag if_error_find_files_sdcard=("/var/lib/dkms/v4l2loopback*/*/build/*.log")
Expand Down

0 comments on commit 3894e92

Please sign in to comment.