mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: fix for tests of BOOTSCRIPT and BOOTCONFIG!=none
This commit is contained in:
@@ -176,9 +176,9 @@ function install_distribution_agnostic() {
|
||||
else
|
||||
echo " fdtdir ${bootpart_prefix}dtb/" >> "$SDCARD/boot/extlinux/extlinux.conf"
|
||||
fi
|
||||
else
|
||||
else # ... not extlinux ...
|
||||
|
||||
if [[ -n "${BOOTSCRIPT}" ]]; then # @TODO: this used to check BOOTCONFIG not being 'none'
|
||||
if [[ -n "${BOOTSCRIPT}" && "${BOOTCONFIG}" != "none" ]]; then
|
||||
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