From: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
To: Ed Bartosh <ed.bartosh@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 3/3] wic: apply --extra-space + --overhead to squashfs
Date: Tue, 12 Sep 2017 15:23:40 +0200 [thread overview]
Message-ID: <lyk214dp9f.fsf@ensc-virt.intern.sigma-chemnitz.de> (raw)
In-Reply-To: <20170912125720.lj6rwuclmbrd6fx2@linux.intel.com> (Ed Bartosh's message of "Tue, 12 Sep 2017 15:57:20 +0300")
Ed Bartosh <ed.bartosh@linux.intel.com> 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
next prev parent reply other threads:[~2017-09-12 13:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-08 17:33 [PATCH 0/3] wic: enhanced bootimage + squashfs support Enrico Scholz
2017-09-08 17:33 ` [PATCH 1/3] wic: accept '-' in bitbake variables Enrico Scholz
2017-09-08 17:33 ` [PATCH 2/3] wic: allow multiple /boot partitions with different content Enrico Scholz
2017-09-08 17:33 ` [PATCH 3/3] wic: apply --extra-space + --overhead to squashfs Enrico Scholz
2017-09-11 13:41 ` Ed Bartosh
2017-09-11 14:04 ` Enrico Scholz
2017-09-12 8:53 ` Ed Bartosh
2017-09-12 9:44 ` Enrico Scholz
2017-09-12 11:48 ` Ed Bartosh
2017-09-12 12:18 ` Enrico Scholz
2017-09-12 12:57 ` Ed Bartosh
2017-09-12 13:23 ` Enrico Scholz [this message]
2017-09-13 12:10 ` Ed Bartosh
2017-09-11 20:00 ` [PATCH v2 " Enrico Scholz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=lyk214dp9f.fsf@ensc-virt.intern.sigma-chemnitz.de \
--to=enrico.scholz@sigma-chemnitz.de \
--cc=ed.bartosh@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox