diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-08-09 11:48:52 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-08-09 15:16:06 +0200 |
commit | fdafd404325413da4d5fdd717c84e57a51c60fe2 (patch) | |
tree | 03572ed019e0b6acd0b15fcd2ab17d86dd2f5031 /gnu/system/install.scm | |
parent | 95a03aa5c507d48e2cde19ea007b8f90a4e0108a (diff) | |
download | guix-fdafd404325413da4d5fdd717c84e57a51c60fe2.tar.gz |
maint: Use a pretty version string in ISO and VM images.
* gnu/system/examples/vm-image.tmpl: Use the 'GUIX_DISPLAYED_VERSION' environment variable in 'label'. * gnu/system/install.scm (%installation-os): Likewise. * Makefile.am (release): Set 'GUIX_DISPLAYED_VERSION'.
Diffstat (limited to 'gnu/system/install.scm')
-rw-r--r-- | gnu/system/install.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 32b9f52e04..a7b7c246bf 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -469,7 +469,8 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m (bootloader grub-bootloader) (targets '("/dev/sda")))) (label (string-append "GNU Guix installation " - (package-version guix))) + (or (getenv "GUIX_DISPLAYED_VERSION") + (package-version guix)))) ;; XXX: The AMD Radeon driver is reportedly broken, which makes kmscon ;; non-functional: |