From 83de7ee662fd42cce410dd8c395922647f3aeb13 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Fri, 4 Dec 2020 12:36:35 +0100 Subject: 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. --- gnu/system/image.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/system/image.scm') 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 @@ (define (operating-system-for-image image) "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. -- cgit v1.2.3