From: lukas.funke-oss@weidmueller.com
To: openembedded-core@lists.openembedded.org
Cc: Lukas Funke <lukas.funke@weidmueller.com>
Subject: [OE-Core][PATCH 0/1] wic: extend empty plugin with options to write zeros to partiton
Date: Tue, 14 Nov 2023 09:13:31 +0100 [thread overview]
Message-ID: <cover.1699885520.git.lukas.funke@weidmueller.com> (raw)
From: Lukas Funke <lukas.funke@weidmueller.com>
Adds features to explicitly write zeros to the start of the
partition. This is useful to overwrite old content like
filesystem signatures which may be re-recognized otherwise.
The new features can be enabled with
'--soucreparams="[fill|size=<N>[S|s|K|k|M|G]][,][bs=<N>[S|s|K|k|M|G]]"'
Conflicting or missing options throw errors.
The features are:
- fill
Fill the entire partition with zeros. Requires '--fixed-size' option
to be set.
- size=<N>[S|s|K|k|M|G]
Set the first N bytes of the partition to zero. Default unit is 'K'.
- bs=<N>[S|s|K|k|M|G]
Write at most N bytes at a time during source file creation.
Defaults to '1M'. Default unit is 'K'.
Malte Schmidt (1):
wic: extend empty plugin with options to write zeros to partiton
scripts/lib/wic/plugins/source/empty.py | 57 ++++++++++++++++++++++++-
1 file changed, 56 insertions(+), 1 deletion(-)
--
2.30.2
next reply other threads:[~2023-11-14 8:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-14 8:13 lukas.funke-oss [this message]
2023-11-14 8:13 ` [OE-Core][PATCH 1/1] wic: extend empty plugin with options to write zeros to partiton lukas.funke-oss
2023-11-14 11:03 ` Alexandre Belloni
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=cover.1699885520.git.lukas.funke@weidmueller.com \
--to=lukas.funke-oss@weidmueller.com \
--cc=lukas.funke@weidmueller.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.