~ruther/guix-local

79bfa638295af53ed0c6c325c54f01db84f3b213 — Ludovic Courtès 8 years ago a227892
maint: Disk image size is automatically guessed.

* Makefile.am (GUIXSD_VM_IMAGE_SIZE): Remove.
(release): Remove --image-size argument from 'guix system disk-image'
command.
1 files changed, 0 insertions(+), 4 deletions(-)

M Makefile.am
M Makefile.am => Makefile.am +0 -4
@@ 585,9 585,6 @@ GUIXSD_IMAGE_BASE = guixsd-usb-install-$(PACKAGE_VERSION)
# Prefix of the GuixSD VM image file name.
GUIXSD_VM_IMAGE_BASE = guixsd-vm-image-$(PACKAGE_VERSION)

# Size of the installation image (for x86_64 typically).
GUIXSD_INSTALLATION_IMAGE_SIZE ?= 950MiB

# Size of the VM image (for x86_64 typically).
GUIXSD_VM_IMAGE_SIZE ?= 2GiB



@@ 635,7 632,6 @@ release: dist
	  image=`$(top_builddir)/pre-inst-env						\
	    guix system disk-image							\
            --system=$$system								\
	    --image-size=$(GUIXSD_INSTALLATION_IMAGE_SIZE)				\
	    gnu/system/install.scm` ;							\
	  if [ ! -f "$$image" ] ; then							\
	    echo "failed to produced GuixSD installation image for $$system" >&2 ;	\