all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / Atom feed
* bug#40649: website download bug
@ 2020-04-15 20:36 mray
  2020-05-29  2:38 ` Leo Famulari
  2020-05-29  2:51 ` Leo Famulari
  0 siblings, 2 replies; 4+ messages in thread
From: mray @ 2020-04-15 20:36 UTC (permalink / raw)
  To: 40649


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

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.


Thanks for noting :)

-Robert Martinez


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#40649: website download bug
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2020-05-29  2:38 UTC (permalink / raw)
  To: mray; +Cc: 40649

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

On Wed, Apr 15, 2020 at 10:36:11PM +0200, mray wrote:
> 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.

Thanks for letting us know. How does it goes wrong? In general, QEMU
doesn't require file extensions to load images, and that's what Boxes is
using under the hood. We should probably change it regardless.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#40649: website download bug
  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
  2021-05-05  3:55   ` bug#40649: VM image file lacks ".qcow2" extension, which confuses GNOME Boxes Maxim Cournoyer
  1 sibling, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2020-05-29  2:51 UTC (permalink / raw)
  To: mray; +Cc: 40649


[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#40649: VM image file lacks ".qcow2" extension, which confuses GNOME Boxes
  2020-05-29  2:51 ` Leo Famulari
@ 2021-05-05  3:55   ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2021-05-05  3:55 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 40649-done, mray

Hi!

Leo Famulari <leo@famulari.name> writes:

> 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.
>
> 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).

Eh, sorry for not seeing this earlier; I've applied the same fix on the
version-1.3.0 branch with commit
ebf5d77eab148394c6db0dd135ea119ca377aaed, so at least this is fixed in
the soon released Guix v1.3.0 (planned for the 10th of May!).

Closing.

Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-05  3:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-05-05  3:55   ` bug#40649: VM image file lacks ".qcow2" extension, which confuses GNOME Boxes Maxim Cournoyer

all messages for Guix-related lists mirrored at yhetil.org

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix

Example config snippet for mirrors.


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git