Browse Source

guix system: Use "image.iso" as the name of ISO images.

* guix/scripts/system.scm (system-derivation-for-action): Pass #:name to
'system-disk-image'.
python-updates
Ludovic Courtès 5 years ago
parent
commit
5058bf5684
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 8
      guix/scripts/system.scm

8
guix/scripts/system.scm

@ -579,8 +579,12 @@ PATTERN, a string. When PATTERN is #f, display all the system generations."
(* 70 (expt 2 20)))
#:mappings mappings))
((disk-image)
(system-disk-image os #:disk-image-size image-size
#:file-system-type file-system-type))))
(system-disk-image os
#:name (match file-system-type
("iso9660" "image.iso")
(_ "disk-image"))
#:disk-image-size image-size
#:file-system-type file-system-type))))
(define (maybe-suggest-running-guix-pull)
"Suggest running 'guix pull' if this has never been done before."

Loading…
Cancel
Save