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 doc: Update for UEFI systems. 2017-05-19 13:52:49 +02:00
file-systems.scm file-systems: Add missing docstring. 2017-03-21 22:33:07 +01:00
install.scm install: Add 'passwd' to installation image. 2017-05-23 01:22:22 +02:00
linux-container.scm
linux-initrd.scm vm: Support creating FAT partitions. 2017-05-19 12:59:25 +02:00
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 system: Allow root to run "su" without password. 2017-05-08 23:11:01 +02:00
shadow.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
vm.scm vm: Estimate the disk size by default. 2017-06-30 00:16:50 +02:00