armbian-next: deploy bootscript even if BOOTCONFIG=none

- fact we're not BUILDING nor deploying uboot does not mean image does not need a bootscript.
This commit is contained in:
Ricardo Pardini
2022-09-04 18:27:29 +02:00
parent f052196b6c
commit 9137a9de3f

View File

@@ -178,7 +178,8 @@ function install_distribution_agnostic() {
fi
else # ... not extlinux ...
if [[ -n "${BOOTSCRIPT}" && "${BOOTCONFIG}" != "none" ]]; then
if [[ -n "${BOOTSCRIPT}" ]]; then # @TODO: && "${BOOTCONFIG}" != "none"
display_alert "Deploying boot script" "$bootscript_src" "warn"
if [ -f "${USERPATCHES_PATH}/bootscripts/${bootscript_src}" ]; then
run_host_command_logged cp -pv "${USERPATCHES_PATH}/bootscripts/${bootscript_src}" "${SDCARD}/boot/${bootscript_dst}"
else