civodul pushed a commit to branch master
in repository guix.

commit b5460d95e970608bee7a794590be1b051b57d3a3
Author: Ludovic Courtès <[email protected]>
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