mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
Revert "wic: Set a miniumum FAT16 volume size."
This reverts commit f7dfb4d43247d3c13a4e0a3853007d63b9512b83. FAT16 volumes do not have a minimum size of 8250 blocks (== slightly over 4MB). Exhibit A: floppy disks. The original commit message suggests this was a workaround for a bug in parted - in which case we should fix it there, or use the wic `--fixed-size` option to pass down an enforced minimum from a more context-aware point in the callstack. (From OE-Core rev: e0a1ae3863bc229512d43e4a5248551bf25950e5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6aac2bbe19
commit
97f7d39702
@@ -322,7 +322,7 @@ class Partition():
|
||||
|
||||
dosfs_cmd = "mkdosfs %s -i %s %s %s -C %s %d" % \
|
||||
(label_str, self.fsuuid, size_str, extraopts, rootfs,
|
||||
max(8250, rootfs_size))
|
||||
rootfs_size)
|
||||
exec_native_cmd(dosfs_cmd, native_sysroot)
|
||||
|
||||
mcopy_cmd = "mcopy -i %s -s %s/* ::/" % (rootfs, rootfs_dir)
|
||||
|
||||
Reference in New Issue
Block a user