From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id fdcCFHAXkmCd/gAAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 05:56:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aDAmD3AXkmAuegAA1q6Kng (envelope-from ) for ; Wed, 05 May 2021 03:56:32 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6BBDC1FBEA for ; Wed, 5 May 2021 05:56:31 +0200 (CEST) Received: from localhost ([::1]:35100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1le8eD-0000cX-9t for larch@yhetil.org; Tue, 04 May 2021 23:56:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1le8dm-0000aL-O8 for bug-guix@gnu.org; Tue, 04 May 2021 23:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45735) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1le8dm-0007Ug-GD for bug-guix@gnu.org; Tue, 04 May 2021 23:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1le8dm-0006It-FN for bug-guix@gnu.org; Tue, 04 May 2021 23:56:02 -0400 Subject: bug#40649: VM image file lacks ".qcow2" extension, which confuses GNOME Boxes Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 05 May 2021 03:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 40649 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Mail-Followup-To: 40649@debbugs.gnu.org, maxim.cournoyer@gmail.com, mail@mray.de Received: via spool by 40649-done@debbugs.gnu.org id=D40649.162018691024202 (code D ref 40649); Wed, 05 May 2021 03:56:02 +0000 Received: (at 40649-done) by debbugs.gnu.org; 5 May 2021 03:55:10 +0000 Received: from localhost ([127.0.0.1]:57275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1le8cw-0006II-G1 for submit@debbugs.gnu.org; Tue, 04 May 2021 23:55:10 -0400 Received: from mail-qk1-f177.google.com ([209.85.222.177]:38409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1le8ct-0006I7-K4 for 40649-done@debbugs.gnu.org; Tue, 04 May 2021 23:55:09 -0400 Received: by mail-qk1-f177.google.com with SMTP id v20so378198qkv.5 for <40649-done@debbugs.gnu.org>; Tue, 04 May 2021 20:55:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=+Zpdrpwj8eRimE8G/9oSBHX/yWUPBvOUBtYP7ZjLjEo=; b=cb+NV1FGQHtKmIetH2mi1gx/8DhpoDZoYFr5MbkXzy6Ln5qYXKP8FKE0nhKkhQZFdt 50W5lZ2bcrZjJV+u+sHihmPdeZ5R9lDEQQ7IJzjwDGgJSbExm/KaqswkG/2JZudpTg6O SIiizB9KW+mMv443aPhGD/lwxcWc1Ax7E8BGb39i7q6K1KGSgnn4bm9/vYevJ7i6B7px gGoK/z0dUMW+GKZ8nYS9Rz73/XuHTdt0R+URcB4EfiEh/tKY1MIuncHasa2F26gyRBxv n0Z7yQm43rA7TvmvTfdWOSrykJtfzZTMhYwKz3x0889sIssIiG6UGz+Mh98jAjexo8aO V0MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=+Zpdrpwj8eRimE8G/9oSBHX/yWUPBvOUBtYP7ZjLjEo=; b=iLy/ql6vNFam9lQaYcDYV4ZPzlr7MquiqPgnt8wM/X9ZQUSiAAIQ9MQ6E9MSFl0ypq 3nKrOqMcEt1jrxIuHdr+lfKJxUK39TSeVfVjLav6mMdVcz9y8YYiblZLn2+q7C2VzHF/ asYNImkQgL5DJkzQtPHwOO/M7CGIevBCB/8zQA/jXAAF9mtIAeUj5ywDon8lTfY4RUyW lVIir+Uc8bDijYah/G14cUZj9cmDfHids2yEQ2R3SakFjuZ8ds2EuvGlwV9ahH4WPZ0Y UUI7DIF7IQHrPu5ViBaxac9Oa/6rddjaJo7cRYyXV5H6qo1YiidN0SEx8EweCUP1it7T aElg== X-Gm-Message-State: AOAM533NqzVQVAylvxobtH+8WxkkCeaFDhA2obZCM5jjTeRfLP0ss5FZ U/f+CXDrFC6b53mTi443mF+9ki19dw60nOrF X-Google-Smtp-Source: ABdhPJznM4Zl68TklKKvREwHvMPQz2MpHHy5E4hQJdGIb7KExtxhbeL7Q1muuxrKJYr+ohZ3UvxynA== X-Received: by 2002:a37:a604:: with SMTP id p4mr15704031qke.215.1620186901964; Tue, 04 May 2021 20:55:01 -0700 (PDT) Received: from hurd (mtl.savoirfairelinux.net. [208.88.110.46]) by smtp.gmail.com with ESMTPSA id r5sm3984869qtp.75.2021.05.04.20.55.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 20:55:01 -0700 (PDT) From: Maxim Cournoyer References: <20dfb0be-6d02-035d-eb21-467bcda0b117@mray.de> <20200529025109.GA28388@jasmine.lan> Date: Tue, 04 May 2021 23:55:00 -0400 In-Reply-To: <20200529025109.GA28388@jasmine.lan> (Leo Famulari's message of "Thu, 28 May 2020 22:51:09 -0400") Message-ID: <87h7jhltrf.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 40649-done@debbugs.gnu.org, mray Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620186991; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=+Zpdrpwj8eRimE8G/9oSBHX/yWUPBvOUBtYP7ZjLjEo=; b=YZewMQ3KCakwjwapFtELQnHSFTfHDh4MhUTcb/S2HRYSGle1GLsPC4nK5vW1EB+kRtNHsD EHHG+UbQAMZ5OxxD5yJN9OlOsVJ56kuySRZv6J48ugub+dyx4OPaZZJqhjPJHrl+Snt/9U GMne1Cs5cy0gCdyBcnqdwIv+uFAzDIFFKl31liXumluNbV4aNg3ZzY4ZxIhTiFUa7SJfhv 0Uf6Vj4t9IHPYRUE3pYx71IaqTCkRZPsSbGdVsdQGPqgdWAD5sBgFvqyppuiiJQPORGks6 5HjU91IrputoJ2t/xTruNVtyItQ/l+qA05VF191zWE6KJiJN/tvFzOL52vsalQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620186991; a=rsa-sha256; cv=none; b=omuuqJZNbxgdp0jfn/R0V6cXhtzxC9FmgbN3980e7Y0Tk/PJG28Rfz3H851dWkVT91GX5J WIgF8rXiJTXvkHbyTxHYoHqvE2uctinBqr3i50ju2ZWyf9C1TF22MApufqurjl8amypHam xwBybY/EnuRK717gEnthVC370kKa2qF3166dKBgkpBpXZyl7G1gurIwq5JbACIS432wSt1 SbhYgo2C0oa1PXquDad9bVQvByl8SYokjoAkt+icovokBfP4Egm0BClljFFbhSS712/y5a PKUnJnhZuxG3mvTYMM5Fbt3FFRaU5YE6IKIR8CM6lE06Vzohgn22ucDKunuowg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=cb+NV1FG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=cb+NV1FG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 6BBDC1FBEA X-Spam-Score: -1.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: kvqoy80xwAE7 Hi! Leo Famulari 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 > 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 . > > * 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