From 7aeef7ee3dbf8d8f4e4c741de021ad4eba4149aa Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 21 Apr 2021 14:08:32 -0400 Subject: [PATCH] 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) : Replace by... : ... this. Specify the type of the VM image as qcow2. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 5600bd5503..062a7ba154 100644 --- a/Makefile.am +++ b/Makefile.am @@ -880,7 +880,7 @@ release: dist-with-updated-version -v1 --no-grafts --fallback for system in $(GUIX_SYSTEM_SUPPORTED_SYSTEMS) ; do \ image=`$(top_builddir)/pre-inst-env \ - guix system disk-image -t iso9660 \ + guix system image -t iso9660 \ --label="GUIX_$${system}_$(VERSION)" \ --system=$$system --fallback \ gnu/system/install.scm` ; \ @@ -894,7 +894,7 @@ release: dist-with-updated-version done for system in $(GUIX_SYSTEM_VM_SYSTEMS) ; do \ 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 \ --system=$$system --fallback \ gnu/system/examples/vm-image.tmpl` ; \