apteryx pushed a commit to branch version-1.3.0
in repository guix.
commit 7aeef7ee3dbf8d8f4e4c741de021ad4eba4149aa
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Wed Apr 21 14:08:32 2021 -0400
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.
---
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 5600bd5..062a7ba 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` ;
\