guix/gnu/system
Ludovic Courtès a8ac4f081a
vm: Estimate the disk size by default.
* gnu/build/vm.scm (estimated-partition-size): New procedure.
* gnu/system/vm.scm (expression->derivation-in-linux-vm):
Change #:disk-image-size default to 'guess.
[builder]: When DISK-IMAGE-SIZE is 'guess, use
'estimated-partition-size' and compute and estimate of the image size.
(qemu-image): Likewise.
* guix/build/store-copy.scm (file-size, closure-size): New procedures.
* guix/scripts/system.scm (%default-options): Change 'image-size' to
'guess.
* doc/guix.texi (Building the Installation Image): Remove '--image-size'
flag from example.
(Invoking guix system): Document the image size estimate.
2017-06-30 00:16:50 +02:00
..
examples
file-systems.scm
install.scm
linux-container.scm
linux-initrd.scm
locale.scm
mapped-devices.scm mapped-devices: Cope with delayed appearance of LUKS source. 2017-06-07 19:03:03 -04:00
nss.scm
pam.scm
shadow.scm
vm.scm vm: Estimate the disk size by default. 2017-06-30 00:16:50 +02:00