vm: Disable deduplication for 'guix system vm-image'.

* gnu/system/vm.scm (qemu-image): Pass #:deduplicate? #f to
'root-partition-initializer'.
This commit is contained in:
Ludovic Courtès 2018-09-23 23:29:31 +02:00
parent bb3b6ccb05
commit b5460d95e9
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 1 deletions

View File

@ -390,7 +390,12 @@ the image."
#:closures graphs #:closures graphs
#:copy-closures? #$copy-inputs? #:copy-closures? #$copy-inputs?
#:register-closures? #$register-closures? #: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) (root-size #$(if (eq? 'guess disk-image-size)
#~(max #~(max
;; Minimum 20 MiB root size ;; Minimum 20 MiB root size