orangepizero2/sun50iw9/legacy: actually use NAME_KERNEL=uImage

This commit is contained in:
Ricardo Pardini 2023-04-08 13:34:43 +02:00
parent 90c5a2743a
commit 3ec50ea03c

View File

@ -27,6 +27,7 @@ case $BRANCH in
ASOUND_STATE='asound.state.sun50iw9-legacy'
# This (legacy/vendor) kernel requires uImage manual conversion; do it via a 'pre_package_kernel_image' hook.
declare -g NAME_KERNEL="uImage" # Even though that's a lie.
function pre_package_kernel_image__orangepi_legacy_uImage_manual_conversion() {
display_alert "Converting" "${BOARDFAMILY} - ${LINUXFAMILY} :: legacy :: uImage" "warn"
if [[ -z "${kernel_image_pre_package_path}" || ! -f "${kernel_image_pre_package_path}" ]]; then