all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: mray <mail@mray.de>
Cc: 40649@debbugs.gnu.org
Subject: bug#40649: website download bug
Date: Thu, 28 May 2020 22:51:09 -0400	[thread overview]
Message-ID: <20200529025109.GA28388@jasmine.lan> (raw)
In-Reply-To: <20dfb0be-6d02-035d-eb21-467bcda0b117@mray.de>


[-- Attachment #1.1: Type: text/plain, Size: 411 bytes --]

On Wed, Apr 15, 2020 at 10:36:11PM +0200, mray wrote:
> Hi there,
> 
> the QEMU Image download links toa file that misses the "*.qcow2" filetype.
> 
> That way Gnome Boxes is not able to start the image. I suggest renaming
> all respective files.

We could use something like the attached patch (untested!), but I'll
wait for review from a maintainer since they would have to deal with any
breakage.

[-- Attachment #1.2: 0001-maint-Add-a-file-extension-to-the-VM-image.patch --]
[-- Type: text/plain, Size: 2120 bytes --]

From a9bc503689e7d524265fd23811627323d8059ece Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
Date: Thu, 28 May 2020 22:43:16 -0400
Subject: [PATCH] maint: Add a file extension to the VM image.

This allows the file to be opened easily in GNOME Boxes.

Fixes <https://bugs.gnu.org/40649>.

* Makefile.am (release): Add ".qcow2" to the name of the VM image.
* doc/guix.texi (Running Guix in a VM): Adjust accordingly.
---
 Makefile.am   | 6 +++---
 doc/guix.texi | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 5b64386b53..f1031863de 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -836,9 +836,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)."
diff --git a/doc/guix.texi b/doc/guix.texi
index 5b9942d420..0adadf69fa 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -27747,7 +27747,7 @@ Whether or not the droplet should be created with IPv6 networking.
 @cindex virtual machine
 To run Guix in a virtual machine (VM), one can use the pre-built Guix VM image
 distributed at
-@url{@value{BASE-URL}/guix-system-vm-image-@value{VERSION}.x86_64-linux.xz}.
+@url{@value{BASE-URL}/guix-system-vm-image-@value{VERSION}.x86_64-linux.qcow2.xz}.
 This image is a compressed image in QCOW format.  You will first need to
 decompress with @command{xz -d}, and then you can pass it to an emulator such
 as QEMU (see below for details).
-- 
2.26.2


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2020-05-29  2:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-15 20:36 bug#40649: website download bug mray
2020-05-29  2:38 ` Leo Famulari
2020-05-29  2:51 ` Leo Famulari [this message]
2021-05-05  3:55   ` bug#40649: VM image file lacks ".qcow2" extension, which confuses GNOME Boxes Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200529025109.GA28388@jasmine.lan \
    --to=leo@famulari.name \
    --cc=40649@debbugs.gnu.org \
    --cc=mail@mray.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.