From: Alexander Kanavin Date: Sun, 28 Feb 2021 15:37:00 +0000 (+0100) Subject: scripts/lib/wic/partition.py: do not set FAT size X-Git-Tag: yocto-3.3~294 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b85a09ea450a5e8f49418f4a930805fbb88dc83b;p=openembedded-core.git scripts/lib/wic/partition.py: do not set FAT size Modern dosfstools automatically determines the appropriate size and will error out if something that doesn't make sense is supplied on the command line. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py index 85f9847047..76d144d12d 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py @@ -339,8 +339,6 @@ class Partition(): label_str = "-n %s" % self.label size_str = "" - if self.fstype == 'msdos': - size_str = "-F 16" # FAT 16 extraopts = self.mkfs_extraopts or '-S 512' @@ -422,8 +420,6 @@ class Partition(): label_str = "-n %s" % self.label size_str = "" - if self.fstype == 'msdos': - size_str = "-F 16" # FAT 16 extraopts = self.mkfs_extraopts or '-S 512'