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>fsdg20230625
parent
fbbb5bc616
commit
f679fbd359
|
@ -5,6 +5,7 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020,2021 Leah Rowe <info@minifree.org>
|
# Copyright (C) 2020,2021 Leah Rowe <info@minifree.org>
|
||||||
# Copyright (C) 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.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
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -112,7 +113,7 @@ release_deblobbed_uboot()
|
||||||
--format=gnu \
|
--format=gnu \
|
||||||
--sort=name \
|
--sort=name \
|
||||||
--owner=0 --group=0 --numeric-owner \
|
--owner=0 --group=0 --numeric-owner \
|
||||||
--mtime="1970-01-01" \
|
--mtime="1970-01-01 UTC+01:00" \
|
||||||
|
|
||||||
lzip -9 --keep -vv "${tarball}"
|
lzip -9 --keep -vv "${tarball}"
|
||||||
xz -9 --keep -vv "${tarball}"
|
xz -9 --keep -vv "${tarball}"
|
||||||
|
|
Loading…
Reference in New Issue