poky/scripts/lib/wic/plugins/source
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
..
bootimg-biosplusefi.py wic/plugins: Source that support both EFI and BIOS 2019-07-23 22:26:28 +01:00
bootimg-efi.py wic: bootimg-efi: Make kernel image installation configurable 2023-12-04 11:23:37 +00:00
bootimg-partition.py wic: bootimg-partition: Fix file name in debug message 2023-10-01 08:12:59 +01:00
bootimg-pcbios.py wic: add support for proper kernel name to bootimg-pcbios 2023-05-04 12:37:00 +01:00
empty.py wic: extend empty plugin with options to write zeros to partiton 2023-12-06 22:55:49 +00:00
isoimage-isohybrid.py scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
rawcopy.py wic: rawcopy: add support for zstd decompression 2023-11-27 22:54:59 +00:00
rootfs.py wic: honor the SOURCE_DATE_EPOCH in case of updated fstab 2022-10-26 12:28:39 +01:00