<div dir="ltr">ping?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 21 Mar 2019 at 16:49, Angus Lees <<a href="mailto:gus@inodes.org">gus@inodes.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This reverts commit f7dfb4d43247d3c13a4e0a3853007d63b9512b83.<br>
<br>
FAT16 volumes do not have a minimum size of 8250 blocks<br>
(== slightly over 4MB). Exhibit A: floppy disks.<br>
<br>
The original commit message suggests this was a workaround for a bug in<br>
parted - in which case we should fix it there, or use the wic<br>
`--fixed-size` option to pass down an enforced minimum from a more<br>
context-aware point in the callstack.<br>
---<br>
(This should also be backported to sumo)<br>
<br>
scripts/lib/wic/partition.py | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py<br>
index 3fe5c4e26c..2178321404 100644<br>
--- a/scripts/lib/wic/partition.py<br>
+++ b/scripts/lib/wic/partition.py<br>
@@ -322,7 +322,7 @@ class Partition():<br>
<br>
dosfs_cmd = "mkdosfs %s -i %s %s %s -C %s %d" % \<br>
(label_str, self.fsuuid, size_str, extraopts, rootfs,<br>
- max(8250, rootfs_size))<br>
+ rootfs_size)<br>
exec_native_cmd(dosfs_cmd, native_sysroot)<br>
<br>
mcopy_cmd = "mcopy -i %s -s %s/* ::/" % (rootfs, rootfs_dir)<br>
-- <br>
2.11.0<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"> - Gus</div>