File: slof-remove-user-and-host-from-release-version.patch

package info (click to toggle)
qemu 1%3A7.2%2Bdfsg-7%2Bdeb12u16
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-proposed-updates
  • size: 291,516 kB
  • sloc: ansic: 2,702,024; pascal: 112,708; python: 62,697; sh: 50,281; asm: 48,732; makefile: 17,260; cpp: 9,441; perl: 8,084; xml: 2,911; objc: 1,870; php: 1,299; tcl: 1,188; yacc: 604; lex: 363; sql: 71; awk: 35; sed: 11; javascript: 7
file content (21 lines) | stat: -rw-r--r-- 761 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 22 Jun 2020 03:48:55 +0000
X-Dgit-Generated: 1:5.0-6~0~20200622~4 7ad3e07212ae4baf17ca3734670f0774d06403a7
Subject: roms/SLOF/Makefile.gen: Remove user and host from release version.

This version string ends up in the slof.bin, leading to
reproducibility issues.

---

--- qemu-5.0.orig/roms/SLOF/Makefile.gen
+++ qemu-5.0/roms/SLOF/Makefile.gen
@@ -26,7 +26,7 @@ RELEASE=git-$(shell git rev-parse --shor
 export DRIVER_NAME=git-$(shell git rev-parse --short=12 HEAD)
 else
 ifneq (,$(shell cat ../VERSION))
-RELEASE="$(USER)@$(HOSTNAME) release $(shell cat ../VERSION)"
+RELEASE="release $(shell cat ../VERSION)"
 export DRIVER_NAME=HEAD
 else
 RELEASE="$(USER)@$(HOSTNAME)(private build)"