From: Tobias Geerinckx-Rice <me@tobias.gr>
To: 27754@debbugs.gnu.org
Subject: [bug#27754] [PATCH] vm: Increase disk size overhead estimate.
Date: Tue, 18 Jul 2017 16:34:16 +0200 [thread overview]
Message-ID: <20170718143416.12088-1-me@tobias.gr> (raw)
* gnu/build/vm.scm (estimated-partition-size): Add 25% to the graph size.
---
Guix,
Add a conservative 5% to the disk size overhead estimate. It's enough to
make ‘guix system disk-image gnu/system/install.scm’ work again for me.
Kind regards,
T
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 086f38ade..14bd7851f 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
--
2.13.1
next reply other threads:[~2017-07-18 14:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-18 14:34 Tobias Geerinckx-Rice [this message]
2017-07-18 15:14 ` bug#27754: [PATCH] vm: Increase disk size overhead estimate Tobias Geerinckx-Rice
2017-07-18 15:18 ` [bug#27754] " Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170718143416.12088-1-me@tobias.gr \
--to=me@tobias.gr \
--cc=27754@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.