guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/05: vm: 'make-iso9660-image' makes 'grub.cfg' a GC root.


From: Ludovic Courtès
Subject: 05/05: vm: 'make-iso9660-image' makes 'grub.cfg' a GC root.
Date: Tue, 26 Jun 2018 08:29:59 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 88d4a9c2be12a754a99b3c4f8dc125a33be70927
Author: Ludovic Courtès <address@hidden>
Date:   Tue Jun 26 14:22:27 2018 +0200

    vm: 'make-iso9660-image' makes 'grub.cfg' a GC root.
    
    * gnu/build/vm.scm (make-iso9660-image): Add call to
    'register-bootcfg-root'.
---
 gnu/build/vm.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
index a835c42..abecc8c 100644
--- a/gnu/build/vm.scm
+++ b/gnu/build/vm.scm
@@ -438,7 +438,8 @@ GRUB configuration and OS-DRV as the stuff in it."
                  ;; to modify it.
                  #:deduplicate? #f
                  #:reset-timestamps? #f))
-              closures))
+              closures)
+    (register-bootcfg-root "/tmp/root" config-file))
 
   (let ((pipe
          (apply open-pipe* OPEN_WRITE



reply via email to

[Prev in Thread] Current Thread [Next in Thread]