kernel-debs: fix: don't try to package linux-libc-dev if only packaging dtb

Fixes: 22511b31cf
This commit is contained in:
Ricardo Pardini 2024-03-30 21:12:03 +01:00
parent d26394904f
commit e83d1a0eab
1 changed files with 5 additions and 4 deletions

View File

@ -85,10 +85,12 @@ function prepare_kernel_packaging_debs() {
else
display_alert "Skipping linux-headers package" "for ${KERNEL_MAJOR_MINOR} kernel version" "info"
fi
fi
display_alert "Packaging linux-libc-dev" "${LINUXFAMILY} ${LINUXCONFIG}" "info"
create_kernel_deb "linux-libc-dev-${BRANCH}-${LINUXFAMILY}" "${debs_target_dir}" kernel_package_callback_linux_libc_dev "linux-libc-dev"
fi
return 0
}
function create_kernel_deb() {
@ -535,7 +537,6 @@ function kernel_package_callback_linux_headers() {
)
}
function kernel_package_callback_linux_libc_dev() {
display_alert "linux-libc-dev packaging" "${package_directory}" "debug"