summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Rogers <brogers@suse.com>2019-06-27 10:15:24 -0600
committerSoonKyu Park <sk7.park@samsung.com>2021-11-23 13:46:21 +0900
commit5ac9018570d05068c22d8caa87a349647f1413e4 (patch)
treeebe5a1190ce1bad70b89a88cf350e61adfd994bd
parentc5b21ce54dce19ab3daa1a417e9407a1bb2f1e0d (diff)
downloadqemu-5ac9018570d05068c22d8caa87a349647f1413e4.tar.gz
qemu-5ac9018570d05068c22d8caa87a349647f1413e4.tar.bz2
qemu-5ac9018570d05068c22d8caa87a349647f1413e4.zip
sgabios:Makefile: fix issues of build reproducibility
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> Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r--roms/sgabios/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/roms/sgabios/Makefile b/roms/sgabios/Makefile
index 970b0ff37..d2934c9f6 100644
--- a/roms/sgabios/Makefile
+++ b/roms/sgabios/Makefile
@@ -14,10 +14,10 @@
#
# $Id$
-BUILD_DATE = \"$(shell date -u)\"
-BUILD_SHORT_DATE = \"$(shell date -u +%D)\"
-BUILD_HOST = \"$(shell hostname)\"
-BUILD_USER = \"$(shell whoami)\"
+BUILD_DATE = \"$(shell date --date='@$(PACKAGING_TIMESTAMP)' -u)\"
+BUILD_SHORT_DATE = \"$(shell date --date='@$(PACKAGING_TIMESTAMP)' -u +%D)\"
+BUILD_HOST = \"buildhost\"
+BUILD_USER = \"geeko\"
CFLAGS := -Wall -Os -m32 -nostdlib