about summary refs log tree commit diff
path: root/mkimage.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2013-09-21 12:30:38 +0200
committerJuan RP <xtraeme@gmail.com>2013-09-21 12:30:38 +0200
commitecf9674d141df3a7b00b916b1a5e4c7f81ca9d4b (patch)
tree38d0554c2b4f02c7aa2da6e5f42742157998206f /mkimage.sh.in
parent0fbbcbd740934da5829ef5b78e15ba1f0f617a4d (diff)
downloadhrmpf-ecf9674d141df3a7b00b916b1a5e4c7f81ca9d4b.tar.gz
hrmpf-ecf9674d141df3a7b00b916b1a5e4c7f81ca9d4b.tar.xz
hrmpf-ecf9674d141df3a7b00b916b1a5e4c7f81ca9d4b.zip
mkimage: do not force FAT32 for the /boot filesystem.
If the FAT partition does not have enough clusters for FAT32, the Raspberry Pi
will fail to boot.

Fix: let mkfs.vfat choose the FAT type automatically.
Diffstat (limited to 'mkimage.sh.in')
-rw-r--r--mkimage.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkimage.sh.in b/mkimage.sh.in
index 16d334e..aff4f14 100644
--- a/mkimage.sh.in
+++ b/mkimage.sh.in
@@ -114,7 +114,7 @@ parted $FILENAME mkpart primary ${_btype} 2048s 256M
 parted $FILENAME mkpart primary ${ROOT_FSTYPE} 256M 100%
 parted $FILENAME toggle 1 boot
 LOOPDEV=$(losetup --show --find -P $FILENAME)
-mkfs.${BOOT_FSTYPE} -F32 ${LOOPDEV}p1 >/dev/null 2>&1
+mkfs.${BOOT_FSTYPE} ${LOOPDEV}p1 >/dev/null 2>&1
 mkfs.${ROOT_FSTYPE} ${LOOPDEV}p2 >/dev/null 2>&1
 
 info_msg "Unpacking rootfs tarball ..."