Skip to content

Commit

Permalink
radxa-aic8800: remove kernel version check
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingfate authored and igorpecovnik committed Sep 20, 2024
1 parent bd2883c commit 0ff3d97
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions extensions/radxa-aic8800.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
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 All @@ -15,7 +10,6 @@ function extension_finish_config__install_kernel_headers_for_aic8800_dkms() {

function post_install_kernel_debs__install_aic8800_dkms_package() {

[[ ( "${KERNEL_MAJOR_MINOR}" < 6.6 ) ]] && return 0
[[ "${INSTALL_HEADERS}" != "yes" ]] || [[ "${KERNEL_HAS_WORKING_HEADERS}" != "yes" ]] && return 0
[[ -z $AIC8800_TYPE ]] && return 0
api_url="https://api.github.com/repos/radxa-pkg/aic8800/releases/latest"
Expand Down

0 comments on commit 0ff3d97

Please sign in to comment.