diff options
| author | Serge Schneider <serge@raspberrypi.org> | 2017-02-16 14:36:23 +0000 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.org> | 2017-03-06 09:27:48 +0000 |
| commit | 37902fb11422fe6bfcd96bbb2744324ee3b384c0 (patch) | |
| tree | 8e0ba5773ac9c3daad8863f5ac2c9f3a62fd8350 | |
| parent | 51fbf45dd70756b6c1a3d76f5caa68eef7e065d5 (diff) | |
export-image: Format /boot as FAT32
| -rwxr-xr-x | export-image/prerun.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/export-image/prerun.sh b/export-image/prerun.sh index a3581b3..ec440c9 100755 --- a/export-image/prerun.sh +++ b/export-image/prerun.sh @@ -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 |
