diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-09-23 23:29:31 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-09-23 23:34:17 +0200 |
commit | b5460d95e970608bee7a794590be1b051b57d3a3 (patch) | |
tree | 511eca0975756f98a16cc510abb1657de3abf89f | |
parent | bb3b6ccb05550fbfbeb459c68819a752327d6e1e (diff) |
vm: Disable deduplication for 'guix system vm-image'.
* gnu/system/vm.scm (qemu-image): Pass #:deduplicate? #f to
'root-partition-initializer'.
-rw-r--r-- | gnu/system/vm.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index 91e117b9f3..435501d726 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 |