[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: vm: Increase disk size overhead estimate.
From: |
Tobias Geerinckx-Rice |
Subject: |
02/02: vm: Increase disk size overhead estimate. |
Date: |
Tue, 18 Jul 2017 11:28:24 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 21ffcd65c5a3459e939a75eb9151acde6ab53723
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Tue Jul 18 16:30:14 2017 +0200
vm: Increase disk size overhead estimate.
* gnu/build/vm.scm (estimated-partition-size): Add 25% to the graph size.
---
gnu/build/vm.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
index 086f38a..14bd785 100644
--- a/gnu/build/vm.scm
+++ b/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