From 2681c7d2e4ac92d08fcc5fd45c0df5da5f96f413 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Fri, 27 May 2022 05:27:44 +0200 Subject: [PATCH] Normalize generation for reproducible builds While working on reproducible builds for openSUSE, I found that our package varied even when building in clean VMs with as little non-determinism as possible. This was because of +++ solanum-0~ch560/ircd/version.c.last @@ -25,7 +25,7 @@ #include "serno.h" #include "stdinc.h" -const char *generation = "6"; +const char *generation = "5"; const char *creation = "1653004800"; const char *ircd_version = PATCHLEVEL; const char *serno = SERNO; --- ircd/version.c.SH | 1 + 1 file changed, 1 insertion(+) diff --git a/ircd/version.c.SH b/ircd/version.c.SH index 80cda0ff..256691bd 100644 --- a/ircd/version.c.SH +++ b/ircd/version.c.SH @@ -26,6 +26,7 @@ else \ { print $1 " " $2 " " $3 " " $7 " at " $4 " " $5 " " $6 }}'` else creation="$EXTERNAL_BUILD_TIMESTAMP" + generation=1 fi $spitshell >version.c <