[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: build: Add the qcow2 file extension to the VM image.
From: |
guix-commits |
Subject: |
04/09: build: Add the qcow2 file extension to the VM image. |
Date: |
Fri, 30 Apr 2021 08:25:06 -0400 (EDT) |
apteryx pushed a commit to branch version-1.3.0
in repository guix.
commit ebf5d77eab148394c6db0dd135ea119ca377aaed
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Apr 24 23:41:41 2021 -0400
build: Add the qcow2 file extension to the VM image.
Including the extension of the format type of the image is not only useful
to
the user, but also to software. One example is GNOME Boxes, which will
reject
an image with an unknown file extension.
This should be fixed more definitely in Guix, where the output of the VM
image
derivation would already have the correct file extension but for now this
will
do.
* Makefile.am (release): Add .qcow2 to the file extension of the VM images.
---
Makefile.am | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 834aedb..ab03dfa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -901,9 +901,9 @@ release: dist-with-updated-version
echo "failed to produced Guix VM image for $$system" >&2 ;
\
exit 1 ;
\
fi ;
\
- xz < "$$image" >
"$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.xz.tmp" ; \
- mv "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.xz.tmp"
\
- "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.xz" ;
\
+ xz < "$$image" >
"$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2.xz.tmp" ; \
+ mv "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2.xz.tmp"
\
+ "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2.xz" ;
\
done
@echo
@echo "Congratulations! All the release files are now in
$(releasedir)."
- branch version-1.3.0 updated (68110f7 -> 9bf205e), guix-commits, 2021/04/30
- 02/09: Makefile.am: Remove the GUIX_FOR_BINARY_TARBALL variable., guix-commits, 2021/04/30
- 05/09: build: Have the release target depend on 'all'., guix-commits, 2021/04/30
- 08/09: gnu: guix: Update to 1.3.0rc1., guix-commits, 2021/04/30
- 06/09: build: Build the guix.pot-update and contributing.pot-update targets only once., guix-commits, 2021/04/30
- 01/09: guix-install.sh: Ensure GUIX_BINARY_FILE_NAME is an absolute path., guix-commits, 2021/04/30
- 03/09: build: Update and add new comments for the release target., guix-commits, 2021/04/30
- 09/09: gnu: guix: Update to 6fd7f16., guix-commits, 2021/04/30
- 04/09: build: Add the qcow2 file extension to the VM image.,
guix-commits <=
- 07/09: build: Make doc-po-update and doc-pot-update targets idempotent., guix-commits, 2021/04/30