Source: grub2
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Timestamps are embedded in the info pages shipped in grub2-common:

  
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/grub2.html

  ./usr/share/info/grub.info-1.gz

  ...27·August·2022
  vs.
  ...24·July·2021


The attached patches fix this by removing the UPDATED parts from
docs/grub-dev.texi and docs/grub.texi.


There are still several other outstanding issues affecting the
reproducibility of grub2(including other timestamp issues), but this
should help reduce the differences to troubleshoot the remaining issues.


Thanks for maintaining grub2!


live well,
  vagrant
From 5350251d24394b67c2075ece7a4af18a8a299b0a Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Mon, 26 Jul 2021 00:05:21 +0000
Subject: [PATCH 2/3] Remove updated timestamps from grub.texi and
 grub-dev.texi

The timestamps are embedded in the documentation at build time, which
does not accurately reflect when the documentation was last updated,
and obviously causes issues for reproducible builds to embed the build
time.

https://reproducible-builds.org/docs/timestamps/
---
 docs/grub-dev.texi | 5 ++---
 docs/grub.texi     | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi
index 635ec7231..6accaf4c8 100644
--- a/docs/grub-dev.texi
+++ b/docs/grub-dev.texi
@@ -17,8 +17,7 @@
 @finalout
 
 @copying
-This developer manual is for GNU GRUB (version @value{VERSION},
-@value{UPDATED}).
+This developer manual is for GNU GRUB (version @value{VERSION}).
 
 Copyright @copyright{} 1999,2000,2001,2002,2004,2005,2006,2008,2009,2010,2011 Free Software Foundation, Inc.
 
@@ -40,7 +39,7 @@ Invariant Sections.
 @titlepage
 @sp 10
 @title the GNU GRUB developer manual
-@subtitle The GRand Unified Bootloader, version @value{VERSION}, @value{UPDATED}.
+@subtitle The GRand Unified Bootloader, version @value{VERSION}.
 @author Yoshinori K. Okuji
 @author Colin D Bennett
 @author Vesa Jääskeläinen
diff --git a/docs/grub.texi b/docs/grub.texi
index 25f77d342..a3dc79301 100644
--- a/docs/grub.texi
+++ b/docs/grub.texi
@@ -17,8 +17,7 @@
 @finalout
 
 @copying
-This manual is for GNU GRUB (version @value{VERSION},
-@value{UPDATED}).
+This manual is for GNU GRUB (version @value{VERSION}).
 
 Copyright @copyright{} 1999,2000,2001,2002,2004,2006,2008,2009,2010,2011,2012,2013 Free Software Foundation, Inc.
 
@@ -48,7 +47,7 @@ Invariant Sections.
 @titlepage
 @sp 10
 @title the GNU GRUB manual
-@subtitle The GRand Unified Bootloader, version @value{VERSION}, @value{UPDATED}.
+@subtitle The GRand Unified Bootloader, version @value{VERSION}.
 @author Gordon Matzigkeit
 @author Yoshinori K. Okuji
 @author Colin Watson
-- 
2.32.0

Attachment: signature.asc
Description: PGP signature

Reply via email to