me
/
guix
Archived
1
0
Fork 0

image: Fix ISO image production.

This is a follow-up of 41f27bf870.

* gnu/system/image.scm (operating-system-for-image): Force "volatile-root?" to
true when producing ISO images.
master
Mathieu Othacehe 2020-12-04 12:36:35 +01:00
parent 2973c74e53
commit 83de7ee662
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 3 additions and 1 deletions

View File

@ -560,7 +560,9 @@ to OS. Also set the UUID and the size of the root partition."
"Return an operating-system based on the one specified in IMAGE, but
suitable for image creation. Assign an UUID to the root file-system, so that
it can be used for bootloading."
(define volatile-root? (image-volatile-root? image))
(define volatile-root? (if (eq? (image-format image) 'iso9660)
#t
(image-volatile-root? image)))
(define (root-uuid os)
;; UUID of the root file system, computed in a deterministic fashion.