Skip to content

Commit

Permalink
export-image: Format /boot as FAT32
Browse files Browse the repository at this point in the history
  • Loading branch information
XECDesign committed Mar 6, 2017
1 parent 51fbf45 commit 37902fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export-image/prerun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ROOT_DEV=$(losetup --show -f -o ${ROOT_OFFSET} --sizelimit ${ROOT_LENGTH} ${IMG_
echo "/boot: offset $BOOT_OFFSET, length $BOOT_LENGTH"
echo "/: offset $ROOT_OFFSET, length $ROOT_LENGTH"

mkdosfs -n boot -S 512 -s 16 -v $BOOT_DEV > /dev/null
mkdosfs -n boot -F 32 -v $BOOT_DEV > /dev/null
mkfs.ext4 -O ^huge_file $ROOT_DEV > /dev/null

mount -v $ROOT_DEV ${ROOTFS_DIR} -t ext4
Expand Down

0 comments on commit 37902fb

Please sign in to comment.