From b85a09ea450a5e8f49418f4a930805fbb88dc83b Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Sun, 28 Feb 2021 16:37:00 +0100 Subject: 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 --- scripts/lib/wic/partition.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scripts/lib/wic') 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' -- cgit 1.2.3-korg