poky/scripts/lib
Malte Schmidt 29b2bda786 wic: extend empty plugin with options to write zeros to partiton
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'.

(From OE-Core rev: d19d4529e7a2056caeb526fed980cc1df19a5f6e)

Signed-off-by: Malte Schmidt <malte.schmidt@weidmueller.com>
Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-06 22:55:49 +00:00
..
build_perf meta: correct collections vs collections.abc deprecation 2021-09-19 11:33:14 +01:00
checklayer lib/oe/sstatesig.py: dump locked.sigs.inc only when explicitly asked via -S lockedsigs 2023-10-27 10:53:43 +01:00
devtool recipetool: create_buildsys_python: add pypi support 2023-12-06 22:55:49 +00:00
recipetool recipetool: create_buildsys_python: add pypi support 2023-12-06 22:55:49 +00:00
resulttool scripts/resulttool: group all regressions in regression report 2023-11-05 08:44:06 +00:00
wic wic: extend empty plugin with options to write zeros to partiton 2023-12-06 22:55:49 +00:00
argparse_oe.py scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
buildstats.py scripts/lib/buildstats: handle top-level build_stats not being complete 2023-03-25 09:39:28 +00:00
scriptpath.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
scriptutils.py recipes/classes/scripts: Drop SRCPV usage in OE-Core 2023-08-24 16:50:24 +01:00