Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radxa-aic8800: remove kernel version check #7283

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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