guix-commits
[Top][All Lists]
Advanced

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

06/07: vm: Disable deduplication for 'guix system vm-image'.


From: Ludovic Courtès
Subject: 06/07: vm: Disable deduplication for 'guix system vm-image'.
Date: Sun, 23 Sep 2018 17:34:32 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit b5460d95e970608bee7a794590be1b051b57d3a3
Author: Ludovic Courtès <address@hidden>
Date:   Sun Sep 23 23:29:31 2018 +0200

    vm: Disable deduplication for 'guix system vm-image'.
    
    * gnu/system/vm.scm (qemu-image): Pass #:deduplicate? #f to
    'root-partition-initializer'.
---
 gnu/system/vm.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 91e117b..435501d 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -390,7 +390,12 @@ the image."
                                  #:closures graphs
                                  #:copy-closures? #$copy-inputs?
                                  #:register-closures? #$register-closures?
-                                 #:system-directory #$os-drv))
+                                 #:system-directory #$os-drv
+
+                                 ;; Disable deduplication to speed things up,
+                                 ;; and because it doesn't help much for a
+                                 ;; single system generation.
+                                 #:deduplicate? #f))
                     (root-size  #$(if (eq? 'guess disk-image-size)
                                       #~(max
                                          ;; Minimum 20 MiB root size



reply via email to

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