2019-09-12 17:54:03 +02:00
|
|
|
From: Bruce Rogers <brogers@suse.com>
|
|
|
|
Date: Thu, 27 Jun 2019 10:15:24 -0600
|
|
|
|
Subject: sgabios:Makefile: fix issues of build reproducibility
|
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
2016-11-21 18:05:46 +01:00
|
|
|
|
|
|
|
It is desirable to produce the same bits on subsequent
|
|
|
|
builds when the actual code of the package doesn't
|
|
|
|
change. (bsc#1011213)
|
|
|
|
|
|
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
2017-01-11 19:17:11 +01:00
|
|
|
Signed-off-by: Andreas Färber <afaerber@suse.de>
|
2016-11-21 18:05:46 +01:00
|
|
|
---
|
2019-09-12 17:54:03 +02:00
|
|
|
Makefile | 8 ++++----
|
|
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
2016-11-21 18:05:46 +01:00
|
|
|
|
2019-09-12 17:54:03 +02:00
|
|
|
diff --git a/roms/sgabios/Makefile b/roms/sgabios/Makefile
|
|
|
|
index 970b0ff37a1ae58e98d0527da215..d2934c9f678dadfae5201b8507e9 100644
|
|
|
|
--- a/roms/sgabios/Makefile
|
|
|
|
+++ b/roms/sgabios/Makefile
|
2017-01-11 19:17:11 +01:00
|
|
|
@@ -14,10 +14,10 @@
|
2016-11-21 18:05:46 +01:00
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
-BUILD_DATE = \"$(shell date -u)\"
|
|
|
|
-BUILD_SHORT_DATE = \"$(shell date -u +%D)\"
|
|
|
|
-BUILD_HOST = \"$(shell hostname)\"
|
2017-01-11 19:17:11 +01:00
|
|
|
-BUILD_USER = \"$(shell whoami)\"
|
2016-11-21 18:05:46 +01:00
|
|
|
+BUILD_DATE = \"$(shell date --date='@$(PACKAGING_TIMESTAMP)' -u)\"
|
|
|
|
+BUILD_SHORT_DATE = \"$(shell date --date='@$(PACKAGING_TIMESTAMP)' -u +%D)\"
|
2017-01-11 19:17:11 +01:00
|
|
|
+BUILD_HOST = \"buildhost\"
|
|
|
|
+BUILD_USER = \"geeko\"
|
2016-11-21 18:05:46 +01:00
|
|
|
|
|
|
|
CFLAGS := -Wall -Os -m32 -nostdlib
|
2017-01-11 19:17:11 +01:00
|
|
|
|