Browse Source

vm: Increase disk size overhead estimate.

* gnu/build/vm.scm (estimated-partition-size): Add 25% to the graph size.
python-updates
Tobias Geerinckx-Rice 5 years ago
parent
commit
21ffcd65c5
No known key found for this signature in database GPG Key ID: 91CCDB9B48541B99
  1. 4
      gnu/build/vm.scm

4
gnu/build/vm.scm

@ -157,8 +157,8 @@ the #:references-graphs parameter of 'derivation'."
(define (estimated-partition-size graphs)
"Return the estimated size of a partition that can store the store items
given by GRAPHS, a list of file names produced by #:references-graphs."
;; Simply add a 20% overhead.
(round (* 1.2 (closure-size graphs))))
;; Simply add a 25% overhead.
(round (* 1.25 (closure-size graphs))))
(define* (initialize-partition-table device partitions
#:key

Loading…
Cancel
Save