Re: [PATCH] wic: Add extra-space argument


Tom Rini
 

On Thu, Sep 02, 2021 at 03:19:21PM +0200, Kristian Klausen via lists.openembedded.org wrote:

This allows extra space to be added after the last partition and is
especially useful when free space is needed for ex: adding partitions on
first boot with ex: systemd-repart[1] and the image is tested in QEMU.

[1] https://www.freedesktop.org/software/systemd/man/systemd-repart.html
Well that's certainly interesting.


Signed-off-by: Kristian Klausen <kristian@...>
---
scripts/lib/wic/plugins/imager/direct.py | 7 +++++--
scripts/wic | 2 ++
2 files changed, 7 insertions(+), 2 deletions(-)
Can you add a test case for this? That'd help also demonstrate how this
would be used over just having a minimal wks file and repart.d conf
files to describe the rest of the system. Thanks!

--
Tom

Join openembedded-core@lists.openembedded.org to automatically receive all group messages.