diff options
author | Juan RP <xtraeme@gmail.com> | 2013-09-21 12:30:38 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2013-09-21 12:30:38 +0200 |
commit | ecf9674d141df3a7b00b916b1a5e4c7f81ca9d4b (patch) | |
tree | 38d0554c2b4f02c7aa2da6e5f42742157998206f /mkimage.sh.in | |
parent | 0fbbcbd740934da5829ef5b78e15ba1f0f617a4d (diff) | |
download | hrmpf-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.in | 2 |
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 ..." |