mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-12 22:42:54 +02:00
u-boot-libre: Set tar mtime to SOURCE_DATE_EPOCH or @0
The u-boot-libre tarball contents' mtimes are an unconventional value due to timezone confusion. For reproducibility, timestamps like these are usually set by a SOURCE_DATE_EPOCH which is respected by both coreboot and U-Boot. Use it in the u-boot-libre release script as well, and properly set the mtimes to the Unix epoch when it's not defined. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
This commit is contained in:
@@ -113,7 +113,7 @@ release_deblobbed_uboot()
|
||||
--format=gnu \
|
||||
--sort=name \
|
||||
--owner=0 --group=0 --numeric-owner \
|
||||
--mtime="1970-01-01 UTC+01:00" \
|
||||
--mtime="@${SOURCE_DATE_EPOCH:-0}" \
|
||||
|
||||
lzip -9 --keep -vv "${tarball}"
|
||||
xz -9 --keep -vv "${tarball}"
|
||||
|
||||
Reference in New Issue
Block a user