Skip to content

Commit

Permalink
Driver compilation is not supported on kernel 6.10 and up
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Aug 13, 2024
1 parent c0cf72b commit d116232
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions extensions/radxa-aic8800.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
function extension_finish_config__install_kernel_headers_for_aic8800_dkms() {

if [[ ( "${KERNEL_MAJOR_MINOR}" > 6.6 ) ]]; then
display_alert "Driver compilation is not supported on kernel ${KERNEL_MAJOR_MINOR} or higher" "skipping aic8800 dkms for kernel v${KERNEL_MAJOR_MINOR}" "warn"
return 0
fi

if [[ "${KERNEL_HAS_WORKING_HEADERS}" != "yes" ]]; then
display_alert "Kernel version has no working headers package" "skipping aic8800 dkms for kernel v${KERNEL_MAJOR_MINOR}" "warn"
return 0
Expand Down

0 comments on commit d116232

Please sign in to comment.