From: Lukas Funke <lukas.funke-oss@weidmueller.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>,
Lukas Funke <lukas.funke@weidmueller.com>
Subject: [meta-oe][PATCH v2 0/1] wic: extend empty plugin with options to write zeros to partiton
Date: Wed, 22 Nov 2023 11:47:46 +0100 [thread overview]
Message-ID: <cover.1700646304.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'.
Changed in v2:
- Added SoB
---
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-22 10:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-22 10:47 Lukas Funke [this message]
2023-11-22 10:47 ` [meta-oe][PATCH v2 1/1] wic: extend empty plugin with options to write zeros to partiton Lukas Funke
2023-11-23 17:46 ` [OE-core] " Richard Purdie
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.1700646304.git.lukas.funke@weidmueller.com \
--to=lukas.funke-oss@weidmueller.com \
--cc=alexandre.belloni@bootlin.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox