Преглед изворни кода

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.
Juan RP пре 11 година
родитељ
комит
ecf9674d14
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      mkimage.sh.in

+ 1 - 1
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 ..."