poky/scripts/lib/wic/plugins/source
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
..
bootimg-biosplusefi.py wic/plugins: Source that support both EFI and BIOS 2019-07-23 22:26:28 +01:00
bootimg-efi.py image_types: Fix reproducible builds for initramfs and UKI img 2023-06-06 23:41:13 +01:00
bootimg-partition.py scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +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 scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
isoimage-isohybrid.py scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
rawcopy.py wic: add 'none' fstype for custom image 2022-08-12 19:22:04 +01:00
rootfs.py wic: honor the SOURCE_DATE_EPOCH in case of updated fstab 2022-10-26 12:28:39 +01:00