mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
maint: Pass '--image-size=30G' to 'guix system vm-image'.
* Makefile.am (GUIX_SYSTEM_VM_IMAGE_FLAGS): New variable. (release): Use it.
This commit is contained in:
parent
6cd7b1be7e
commit
dbab5eb8f5
1 changed files with 5 additions and 1 deletions
|
@ -684,6 +684,10 @@ GUIX_SYSTEM_IMAGE_BASE = guix-system-install-$(PACKAGE_VERSION)
|
||||||
# Prefix of the Guix VM image file name.
|
# Prefix of the Guix VM image file name.
|
||||||
GUIX_SYSTEM_VM_IMAGE_BASE = guix-system-vm-image-$(PACKAGE_VERSION)
|
GUIX_SYSTEM_VM_IMAGE_BASE = guix-system-vm-image-$(PACKAGE_VERSION)
|
||||||
|
|
||||||
|
# Flags for 'guix system vm-image'. By default create a VM image that appears
|
||||||
|
# to have a 20G hard disk.
|
||||||
|
GUIX_SYSTEM_VM_IMAGE_FLAGS ?= --image-size=30G
|
||||||
|
|
||||||
# Return the sequence of '-s' flags for the given systems.
|
# Return the sequence of '-s' flags for the given systems.
|
||||||
system_flags = $(foreach system,$(1),-s $(system))
|
system_flags = $(foreach system,$(1),-s $(system))
|
||||||
|
|
||||||
|
@ -750,7 +754,7 @@ release: dist
|
||||||
done
|
done
|
||||||
for system in $(GUIX_SYSTEM_VM_SYSTEMS) ; do \
|
for system in $(GUIX_SYSTEM_VM_SYSTEMS) ; do \
|
||||||
image=`$(top_builddir)/pre-inst-env \
|
image=`$(top_builddir)/pre-inst-env \
|
||||||
guix system vm-image \
|
guix system vm-image $(GUIX_SYSTEM_VM_IMAGE_FLAGS) \
|
||||||
--system=$$system \
|
--system=$$system \
|
||||||
gnu/system/examples/vm-image.tmpl` ; \
|
gnu/system/examples/vm-image.tmpl` ; \
|
||||||
if [ ! -f "$$image" ] ; then \
|
if [ ! -f "$$image" ] ; then \
|
||||||
|
|
Loading…
Reference in a new issue