From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iLT5FCyJ2F+SNgAA0tVLHw (envelope-from ) for ; Tue, 15 Dec 2020 10:00:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uCzTECyJ2F90WwAAB5/wlQ (envelope-from ) for ; Tue, 15 Dec 2020 10:00:12 +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 EF72C940482 for ; Tue, 15 Dec 2020 10:00:11 +0000 (UTC) Received: from localhost ([::1]:55188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kp77q-00011X-UZ for larch@yhetil.org; Tue, 15 Dec 2020 05:00:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kp77i-0000zx-Bi for guix-patches@gnu.org; Tue, 15 Dec 2020 05:00:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44140) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kp77i-0005Ci-31 for guix-patches@gnu.org; Tue, 15 Dec 2020 05:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kp77i-0007FF-2V for guix-patches@gnu.org; Tue, 15 Dec 2020 05:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45020] [PATCH 0/2] image: Add system field. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Dec 2020 10:00: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 45020-submit@debbugs.gnu.org id=B45020.160802634427756 (code B ref 45020); Tue, 15 Dec 2020 10:00:01 +0000 Received: (at 45020) by debbugs.gnu.org; 15 Dec 2020 09:59:04 +0000 Received: from localhost ([127.0.0.1]:55686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kp76l-0007Dc-SO for submit@debbugs.gnu.org; Tue, 15 Dec 2020 04:59:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kp76k-0007D8-N1 for 45020@debbugs.gnu.org; Tue, 15 Dec 2020 04:59:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48649) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kp76f-0004ok-1X; Tue, 15 Dec 2020 04:58:57 -0500 Received: from 225.71.114.78.rev.sfr.net ([78.114.71.225]:56170 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kp76d-0003ZC-5z; Tue, 15 Dec 2020 04:58:55 -0500 From: Mathieu Othacehe References: <20201203105353.149482-1-othacehe@gnu.org> <87eejw5lsn.fsf@gnu.org> <87h7orpgsh.fsf@gnu.org> <87czze3obq.fsf@gnu.org> Date: Tue, 15 Dec 2020 10:58:51 +0100 In-Reply-To: <87czze3obq.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 12 Dec 2020 18:51:21 +0100") Message-ID: <87czzbfl0k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45020@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.81 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: EF72C940482 X-Spam-Score: -2.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: pdjqCDQUfBk+ Hey, > OTOH, I might want to cross-build a Novena image from x86_64, or I might > want to build it natively. Perhaps what could be said is that a Novena > image can either be built natively on armhf-linux, or cross-built to > arm-linux-gnueabihf. Perhaps we should encode this constraint rather > than a specific =E2=80=98system=E2=80=99 or =E2=80=98target=E2=80=99? (I= =E2=80=99m thinking out loud=E2=80=A6) Maybe the next step would be to define a record that encodes the "system" and "target" constraints for a specific board/machine. The kernel build options and userland packages options you are mentioning above could also be part of this record. As Danny is proposing, we could also have a "--native" argument to "guix system" that would force native build instead of cross-compiling. > Regarding ARM boards, do you think some additional abstraction is needed > to encode cross-cutting concerns that affect not just the partition > layout and choice of a bootloader, but also kernel build options, and > maybe options for some userland packages (are there examples of that, > though?)? > > Maybe the best course of action is to add all this info to until > we have a better idea, after all. Sure, I agree. > I guess I=E2=80=99m contributing more questions that answers. :-) It helps a lot anyway :) Thanks, Mathieu