Copy U-boot boot script too

This commit is contained in:
Dylan Van Assche 2019-10-17 19:33:38 +02:00
parent 16d5a840dd
commit af54bc6eb6
No known key found for this signature in database
GPG Key ID: EB0030A875E07AD0
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ echo -e "\e[1mCopying kernel to boot partition...\e[0m"
mkdir "$MOUNT_BOOT"
sudo mount "${DEVICE_NODE}1" "$MOUNT_BOOT" # Mount boot partition
sudo cp $MOUNT_DATA/boot/* $MOUNT_BOOT
sudo cp "./u-boot-bootloader/$ROOTFS_DIR/boot.scr" "$MOUNT_BOOT/boot.scr"
sync
# Clean up files