From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GL2HNLaK0F/GJwAA0tVLHw (envelope-from ) for ; Wed, 09 Dec 2020 08:28:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aABiMLaK0F8UJwAA1q6Kng (envelope-from ) for ; Wed, 09 Dec 2020 08:28:38 +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 A9B519400BF for ; Wed, 9 Dec 2020 08:28:38 +0000 (UTC) Received: from localhost ([::1]:33076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmupx-0001t5-I8 for larch@yhetil.org; Wed, 09 Dec 2020 03:28:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmuoQ-00012J-AF for guix-patches@gnu.org; Wed, 09 Dec 2020 03:27:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49359) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmuoQ-0004cE-2t for guix-patches@gnu.org; Wed, 09 Dec 2020 03:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmuoP-0001Qg-VO for guix-patches@gnu.org; Wed, 09 Dec 2020 03:27:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45020] [PATCH 0/2] image: Add system field. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Dec 2020 08:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45020 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: dannym@scratchpost.org, 45020@debbugs.gnu.org Received: via spool by 45020-submit@debbugs.gnu.org id=B45020.16075023715430 (code B ref 45020); Wed, 09 Dec 2020 08:27:01 +0000 Received: (at 45020) by debbugs.gnu.org; 9 Dec 2020 08:26:11 +0000 Received: from localhost ([127.0.0.1]:60905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmuna-0001PW-Q3 for submit@debbugs.gnu.org; Wed, 09 Dec 2020 03:26:11 -0500 Received: from flashner.co.il ([178.62.234.194]:55406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmunU-0001Ov-I8 for 45020@debbugs.gnu.org; Wed, 09 Dec 2020 03:26:09 -0500 Received: from localhost (unknown [31.210.180.46]) by flashner.co.il (Postfix) with ESMTPSA id 80A2740304; Wed, 9 Dec 2020 08:25:58 +0000 (UTC) Date: Wed, 9 Dec 2020 10:25:56 +0200 From: Efraim Flashner Message-ID: References: <20201203105353.149482-1-othacehe@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NK4z4b9DexkAYi2Z" Content-Disposition: inline In-Reply-To: <20201203105353.149482-1-othacehe@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-TUID: /+XkpNDYU0F9 --NK4z4b9DexkAYi2Z Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 03, 2020 at 11:53:51AM +0100, Mathieu Othacehe wrote: > Hello, >=20 > Here's a small patchset to improve the creation of disk-images on non-Int= el > systems. Currently, when selecting "arm32-raw" or "arm64-raw" image types, > "guix system" will try to cross-compile to the relevant architectures, > regardless of the current system architecture. >=20 > This adds a "system" field to the image definition that indicates the > appropriate system. Then, if we are already running on this system, > "system-image" will build the image natively instead of using > cross-compilation. The image type "raw" is also renamed to "efi-raw" whic= h is > more accurate. >=20 > Finally, as discussed with Danny on IRC, it could make sense to change the > default image type depending on the current system: efi-raw on x86_64-lin= ux > and i686-linux, arm32-raw on armhf-linux and so on. >=20 > WDYT? I'm not sure about i686-linux being an efi-raw type. I always assumed they were all not EFI. > Thanks, >=20 > Mathieu >=20 > Mathieu Othacehe (2): > image: Add system field. > image: Rename "raw" image-type to "efi-raw". >=20 > doc/guix.texi | 10 +++++----- > gnu/image.scm | 3 +++ > gnu/system/image.scm | 18 ++++++++++++++---- > guix/scripts/system.scm | 2 +- > 4 files changed, 23 insertions(+), 10 deletions(-) >=20 > --=20 > 2.29.2 >=20 >=20 >=20 >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --NK4z4b9DexkAYi2Z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl/QihAACgkQQarn3Mo9 g1Eocw//cO/24DOCCLFMN6jyRCZ2tZyUGWfHIU8b/mDoTaPvPYLh+eV9U2CPNcMJ ScDLwYgjbf0oLFF48auu/i0mki4SUeFWTUe2VyidOhH/MTI9lYGUtIsqXN+W71dh GViu91Q4DgoUz/GvNbYYBNREudsFR9uvbhsztDPrQFKCTSS4ZZJdnvUKTqYG3pXT aqAc7voMpSknoyWv204VSsywqodwYCYRXJNq4LkzMuxcMS22XRUnXiTJaqJIXuDB uuSSfRVEOkixwqJF86aG6gJO48iRKccqxuEFH2prd116NJYkzUd20huHSNG6xxcq pnMLj/HwmUn/XrWyy2pWeUjwaT8xsbCNiIgleA20m5jxvP8LJ6r93HXa7bI1i72/ EO/uqysb6ultISMb8mqNBA9eRbI1FXu4B0EHj9ol74RBBE3ruStrA325DOmA4IcJ 75FfQ13U4vbN7zoCn3gfFf+rZjMxxPU4z8GqtkiIGxS81MvxC0w/nQof/QDKjKry fHrs5xnO6FxVUg4lYwKh02vJsvMDxcfPZLmJU3Pbc6Lm+IAyNSqKfErRu0m9DFed CiSy8N0GA24KxHqBYsFicDpMNQUneMRKUYmymwoj4KsbB1ozlqcKzSkDt+D1129q 3TxdiY12hpWb2BSn/HATLbVA5eXwymaOXq+x+JSqL6T83iMqALA= =4TJx -----END PGP SIGNATURE----- --NK4z4b9DexkAYi2Z--