diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2020-12-04 12:36:35 +0100 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2020-12-04 14:06:49 +0100 |
commit | 83de7ee662fd42cce410dd8c395922647f3aeb13 (patch) | |
tree | 4fad9a4968bc9f9ba419a08c97199b5b989aded1 /gnu/system | |
parent | 2973c74e53df79d0392937af3ebe09f6a06a316a (diff) |
image: Fix ISO image production.
This is a follow-up of 41f27bf8702838f19b1dc5ffee8eec1d4315d4e6.
* gnu/system/image.scm (operating-system-for-image): Force "volatile-root?" to
true when producing ISO images.
Diffstat (limited to 'gnu/system')
-rw-r--r-- | gnu/system/image.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/system/image.scm b/gnu/system/image.scm index 4972d9067b..67930750d5 100644 --- a/gnu/system/image.scm +++ b/gnu/system/image.scm @@ -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. |