u-boot-libre: Fix reproducability issue due to timezone
The checksums in tests/u-boot-libre.sha512 do not match the tarballs generated by this script when ran on a different timezone, e.g. UTC+3. Explicitly specify a timezone for the tar command that makes the tarballs match the checksums. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
This commit is contained in:
parent
adc578ae49
commit
6b380620f3
|
@ -5,6 +5,7 @@
|
|||
#
|
||||
# Copyright (C) 2020,2021 Leah Rowe <info@minifree.org>
|
||||
# Copyright (C) 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
||||
# Copyright (C) 2022 Alper Nebi Yasak <alpernebiyasak@gmail.com>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -112,7 +113,7 @@ release_deblobbed_uboot()
|
|||
--format=gnu \
|
||||
--sort=name \
|
||||
--owner=0 --group=0 --numeric-owner \
|
||||
--mtime="1970-01-01" \
|
||||
--mtime="1970-01-01 UTC+01:00" \
|
||||
|
||||
lzip -9 --keep -vv "${tarball}"
|
||||
xz -9 --keep -vv "${tarball}"
|
||||
|
|
Loading…
Reference in New Issue