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:
parent
f052196b6c
commit
9137a9de3f
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user