mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
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>
This commit is contained in:
parent
4215e728a7
commit
d53dddd7ca
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user