Ed Bartosh <[email protected]> writes: > I agree. --size is less suitable for your needs than extra space and > overhead factor. I still don't like the idea of using them to reserve > non-formatted space.
Btw, exactly this is done for extX already. > Any other ideas how to do it? Perhaps, Logic can be moved into the disk_size() method: | def disk_size(self): | method = getattr(self, "_get_disk_size_" + prefix, None) | if method: | return method(self.size) | elif self.fixed_size: | return self.fixed_size | else: | return self.size | | def _get_disk_size_squashfs(size): | return self.get_rootfs_size(size) But I did not checked whether this really works. Enrico -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
