Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jul 22, 2024
1 parent e49bdb1 commit cab6d13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ log "======================================================"
log "Adding Fat32 Video Partition to: ${IMAGE_PATH_NAME}"
if [[ "${OS}" == "radxa-debian-rock-cm3" ]]; then
dd if=/dev/zero of=fat.img bs=1M count=300
cat fat.img >> IMAGE.img
cat fat.img >> ${PREV_WORK_DIR}/*.img
rm -Rf fat.img
sgdisk -e IMAGE.img
echo -e "n\n4\n\n\n\n0700\nw\ny" | sudo gdisk IMAGE.img
sgdisk -e ${PREV_WORK_DIR}/*.img
echo -e "n\n4\n\n\n\n0700\nw\ny" | sudo gdisk ${PREV_WORK_DIR}/*.img
ls -s
log "Video Partition Added"
fi
Expand Down

0 comments on commit cab6d13

Please sign in to comment.