blob: 3e0c5137272a578ddb32b5c1bd7d20b297a9282b [file] [log] [blame]
#!/bin/sh
install -m 0644 -D $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr
cp ${BR2_EXTERNAL_CZECHLIGHT_PATH}/board/czechlight/beaglebone/sd-uEnv.txt ${BINARIES_DIR}/
# 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