mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user