mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
begin to support u-boot distroboot (#3675)
This commit is contained in:
@@ -736,8 +736,12 @@ PREPARE_IMAGE_SIZE
|
||||
fi
|
||||
|
||||
# recompile .cmd to .scr if boot.cmd exists
|
||||
[[ -f $SDCARD/boot/boot.cmd ]] && \
|
||||
mkimage -C none -A arm -T script -d $SDCARD/boot/boot.cmd $SDCARD/boot/boot.scr > /dev/null 2>&1
|
||||
|
||||
if [[ -f $SDCARD/boot/boot.cmd ]]; then
|
||||
if [ -z $BOOTSCRIPT_OUTPUT ]; then BOOTSCRIPT_OUTPUT=boot.scr; fi
|
||||
mkimage -C none -A arm -T script -d $SDCARD/boot/boot.cmd $SDCARD/boot/$BOOTSCRIPT_OUTPUT > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
|
||||
# create extlinux config
|
||||
if [[ -f $SDCARD/boot/extlinux/extlinux.conf ]]; then
|
||||
|
||||
Reference in New Issue
Block a user