summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-02-28 16:37:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-02 20:39:35 +0000
commitd53dddd7ca22c68f0b8ae010c38b330aa7a4bc15 (patch)
tree71c01f749904d3dc86bb918b455ccdb5671b8256
parent4215e728a747e09c2441eea230cce9218bc043e8 (diff)
downloadpoky-d53dddd7ca22c68f0b8ae010c38b330aa7a4bc15.tar.gz
poky-d53dddd7ca22c68f0b8ae010c38b330aa7a4bc15.tar.bz2
poky-d53dddd7ca22c68f0b8ae010c38b330aa7a4bc15.zip
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>
-rw-r--r--scripts/lib/wic/partition.py4
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():
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'