mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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.
This commit is contained in:
parent
2973c74e53
commit
83de7ee662
1 changed files with 3 additions and 1 deletions
|
@ -560,7 +560,9 @@ (define (operating-system-for-image image)
|
||||||
"Return an operating-system based on the one specified in IMAGE, but
|
"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
|
suitable for image creation. Assign an UUID to the root file-system, so that
|
||||||
it can be used for bootloading."
|
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)
|
(define (root-uuid os)
|
||||||
;; UUID of the root file system, computed in a deterministic fashion.
|
;; UUID of the root file system, computed in a deterministic fashion.
|
||||||
|
|
Loading…
Reference in a new issue