This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 83de7ee  image: Fix ISO image production.
83de7ee is described below

commit 83de7ee662fd42cce410dd8c395922647f3aeb13
Author: Mathieu Othacehe <othac...@gnu.org>
AuthorDate: Fri Dec 4 12:36:35 2020 +0100

    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(-)

diff --git a/gnu/system/image.scm b/gnu/system/image.scm
index 4972d90..6793075 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.

Reply via email to