poky/scripts/lib/wic
Frieder Paape f7035ce464 image_types: Fix reproducible builds for initramfs and UKI img
I've encountered issues reproducing initramfs and UKI image builds,
which will be fixed with this patch.

1. initramfs
There's a symbolic link to /sbin/init, which is appended to the cpio archive after creation.
The links timestamp needs to be static and the cpio append command needs the '--reproducible' flag to produce deterministic outcomes.

2. Unified Kernel Image
'--preserve-dates' is required for a static 'Time/Date' entry.
I've added '--enable-deterministic-archives' although in my case this
didn't change anything.

(From OE-Core rev: fd027729bafb4e085ba0949e38e724f3a8cad102)

Signed-off-by: Frieder Paape <frieder@konvera.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
..
canned-wks base: add support for loongarch64 2023-02-04 17:02:10 +00:00
plugins image_types: Fix reproducible builds for initramfs and UKI img 2023-06-06 23:41:13 +01:00
__init__.py wic: python2 -> python3 2019-06-30 22:40:52 +01:00
engine.py wic: use shutil.which 2021-11-21 11:05:02 +00:00
filemap.py filemap.py: enforce maximum of 4kb block size 2023-03-27 15:44:02 +01:00
help.py wic: added fspassno parameter to partition 2022-05-16 23:19:18 +01:00
ksparser.py wic: Add argument --hidden to default imager 2023-05-25 10:29:08 +01:00
misc.py wic: add target tools to PATH when executing native commands 2022-08-02 11:29:59 +01:00
partition.py wic: Add argument --hidden to default imager 2023-05-25 10:29:08 +01:00
pluginbase.py scripts: Update to use exec_module() instead of load_module() 2022-01-05 17:18:16 +00:00