diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-02-28 16:37:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-02 20:39:35 +0000 |
commit | d53dddd7ca22c68f0b8ae010c38b330aa7a4bc15 (patch) | |
tree | 71c01f749904d3dc86bb918b455ccdb5671b8256 /scripts/lib | |
parent | 4215e728a747e09c2441eea230cce9218bc043e8 (diff) | |
download | poky-d53dddd7ca22c68f0b8ae010c38b330aa7a4bc15.tar.gz |
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.
(From OE-Core rev: b85a09ea450a5e8f49418f4a930805fbb88dc83b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/wic/partition.py | 4 |
1 files changed, 0 insertions, 4 deletions
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(): | |||
339 | label_str = "-n %s" % self.label | 339 | label_str = "-n %s" % self.label |
340 | 340 | ||
341 | size_str = "" | 341 | size_str = "" |
342 | if self.fstype == 'msdos': | ||
343 | size_str = "-F 16" # FAT 16 | ||
344 | 342 | ||
345 | extraopts = self.mkfs_extraopts or '-S 512' | 343 | extraopts = self.mkfs_extraopts or '-S 512' |
346 | 344 | ||
@@ -422,8 +420,6 @@ class Partition(): | |||
422 | label_str = "-n %s" % self.label | 420 | label_str = "-n %s" % self.label |
423 | 421 | ||
424 | size_str = "" | 422 | size_str = "" |
425 | if self.fstype == 'msdos': | ||
426 | size_str = "-F 16" # FAT 16 | ||
427 | 423 | ||
428 | extraopts = self.mkfs_extraopts or '-S 512' | 424 | extraopts = self.mkfs_extraopts or '-S 512' |
429 | 425 | ||