blob: 9808fdd31955e3d4b8569f19b108a37288673b1b [file] [log] [blame]
#!/bin/sh
install -m 0644 -D $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr
# prepare the static script with RAUC logic
${HOST_DIR}/bin/mkimage -C none -A arm -T script \
-d ${BR2_EXTERNAL_CZECHLIGHT_PATH}/board/czechlight/beaglebone/rauc.scr.txt ${BINARIES_DIR}/rauc.scr
# ...and a simplified one for SD-card booting (no image determination)
${HOST_DIR}/bin/mkimage -C none -A arm -T script \
-d ${BR2_EXTERNAL_CZECHLIGHT_PATH}/board/czechlight/beaglebone/sd.scr.txt ${BINARIES_DIR}/sd.scr