mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
build: Use guix system image instead of disk-image, vm-image.
These older system actions are deprecated and cause warnings to be emitted. * Makefile.am (release) <guix system disk-image> <guix system vm-image>: Replace by... <guix system image>: ... this. Specify the type of the VM image as qcow2.
This commit is contained in:
parent
52d71fe8dd
commit
7aeef7ee3d
1 changed files with 2 additions and 2 deletions
|
@ -880,7 +880,7 @@ release: dist-with-updated-version
|
||||||
-v1 --no-grafts --fallback
|
-v1 --no-grafts --fallback
|
||||||
for system in $(GUIX_SYSTEM_SUPPORTED_SYSTEMS) ; do \
|
for system in $(GUIX_SYSTEM_SUPPORTED_SYSTEMS) ; do \
|
||||||
image=`$(top_builddir)/pre-inst-env \
|
image=`$(top_builddir)/pre-inst-env \
|
||||||
guix system disk-image -t iso9660 \
|
guix system image -t iso9660 \
|
||||||
--label="GUIX_$${system}_$(VERSION)" \
|
--label="GUIX_$${system}_$(VERSION)" \
|
||||||
--system=$$system --fallback \
|
--system=$$system --fallback \
|
||||||
gnu/system/install.scm` ; \
|
gnu/system/install.scm` ; \
|
||||||
|
@ -894,7 +894,7 @@ release: dist-with-updated-version
|
||||||
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_FLAGS) \
|
guix system image -t qcow2 $(GUIX_SYSTEM_VM_IMAGE_FLAGS) \
|
||||||
--save-provenance \
|
--save-provenance \
|
||||||
--system=$$system --fallback \
|
--system=$$system --fallback \
|
||||||
gnu/system/examples/vm-image.tmpl` ; \
|
gnu/system/examples/vm-image.tmpl` ; \
|
||||||
|
|
Loading…
Reference in a new issue