[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: SeaBIOS: Prettify version string.
From: |
guix-commits |
Subject: |
05/06: gnu: SeaBIOS: Prettify version string. |
Date: |
Mon, 19 Dec 2022 18:35:09 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit b2fc209b2ce5b6f18f1cf9d8c599f52e608ace42
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Dec 19 01:29:53 2022 +0100
gnu: SeaBIOS: Prettify version string.
* gnu/packages/firmware.scm (seabios)[arguments]: Display version as
"1.16.1/GNU Guix" instead of "1.16.1-guix".
---
gnu/packages/firmware.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 7239b85cb2..8c8949a5da 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -423,7 +423,10 @@ executing in M-mode.")
(list
#:tests? #f ;no tests
#:make-flags
- #~'("EXTRAVERSION=-guix" ;upstream wants distros to set this
+ ;; If EXTRAVERSION is not set the build system will embed the current
+ ;; date in binaries. Use this opportunity to personalize as recommended
+ ;; by Build_overview.md.
+ #~'("EXTRAVERSION=/GNU Guix"
"V=1") ;build verbosely
#:modules `(,@%gnu-build-system-modules
(ice-9 threads)
@@ -432,9 +435,8 @@ executing in M-mode.")
#~(modify-phases %standard-phases
(replace 'configure
(lambda _
- ;; Create the ".version" file that is present in release
tarballs.
- ;; Otherwise this will be regarded as an "unclean" build, and the
- ;; build system ends up encoding the build date in the binaries.
+ ;; Ensure this file is present in case we're building from a git
+ ;; checkout instead of release tarball.
(call-with-output-file ".version"
(lambda (port)
(format port #$(package-version this-package))))
- branch master updated (d241517d2c -> 814214c369), guix-commits, 2022/12/19
- 02/06: gnu: SeaBIOS: Remove pre-generated code., guix-commits, 2022/12/19
- 03/06: gnu: SeaBIOS: Build more BIOSen., guix-commits, 2022/12/19
- 06/06: gnu: QEMU: Unbundle SeaBIOS., guix-commits, 2022/12/19
- 01/06: gnu: SeaBIOS: Use G-expression., guix-commits, 2022/12/19
- 04/06: gnu: SeaBIOS: Build in parallel., guix-commits, 2022/12/19
- 05/06: gnu: SeaBIOS: Prettify version string.,
guix-commits <=