diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:29:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:29:52 +0000 |
commit | ca67b09c015d4af3ae3cce12aa72e60941dbb8b5 (patch) | |
tree | b7316d7b06c373e08dabb79a2c866c568e08f49e /debian/patches/fs-tester-time-fail.patch | |
parent | Adding upstream version 2.06. (diff) | |
download | grub2-debian/2.06-13+deb12u1.tar.xz grub2-debian/2.06-13+deb12u1.zip |
Adding debian version 2.06-13+deb12u1.debian/2.06-13+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/fs-tester-time-fail.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/fs-tester-time-fail.patch b/debian/patches/fs-tester-time-fail.patch new file mode 100644 index 0000000..43675db --- /dev/null +++ b/debian/patches/fs-tester-time-fail.patch @@ -0,0 +1,27 @@ +Explicitly unset SOURCE_DATE_EPOCH before running fs tests. In some +filesystem utils like mksquashfs, it will silently change behaviour +and cause timestamps to unexpectedly change. Reproducible builds are +good and useful for shipped artifacts, but this causes build-time +tests to fail. + +Author: Steve McIntyre + +Patch-Name: fs-tester-time-fail.patch +--- + tests/util/grub-fs-tester.in | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in +index bfc425e1f..660691302 100644 +--- a/tests/util/grub-fs-tester.in ++++ b/tests/util/grub-fs-tester.in +@@ -4,6 +4,9 @@ set -e + + fs="$1" + ++# We can't have this set, or filesystem tests will fail ++unset SOURCE_DATE_EPOCH ++ + GRUBFSTEST="@builddir@/grub-fstest" + + tempdir=`mktemp -d "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1 |