From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8IKsOFXp8GB9aQEAgWs5BA (envelope-from ) for ; Fri, 16 Jul 2021 04:05:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oLXQM1Xp8GD9cAAAbx9fmQ (envelope-from ) for ; Fri, 16 Jul 2021 02:05:09 +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 9A2AB1B0CA for ; Fri, 16 Jul 2021 04:05:09 +0200 (CEST) Received: from localhost ([::1]:50228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4DDw-0000JZ-Po for larch@yhetil.org; Thu, 15 Jul 2021 22:05:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4DDr-0000JD-8d for guix-patches@gnu.org; Thu, 15 Jul 2021 22:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4DDq-0005JB-M4 for guix-patches@gnu.org; Thu, 15 Jul 2021 22:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m4DDq-0004VN-IF for guix-patches@gnu.org; Thu, 15 Jul 2021 22:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#45020] [PATCH 0/2] image: Add system field. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Jul 2021 02:05:02 +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, Ludovic =?UTF-8?Q?Court=C3=A8s?= , 45020@debbugs.gnu.org Received: via spool by 45020-submit@debbugs.gnu.org id=B45020.162640109217299 (code B ref 45020); Fri, 16 Jul 2021 02:05:02 +0000 Received: (at 45020) by debbugs.gnu.org; 16 Jul 2021 02:04:52 +0000 Received: from localhost ([127.0.0.1]:50155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4DDg-0004Uw-AB for submit@debbugs.gnu.org; Thu, 15 Jul 2021 22:04:52 -0400 Received: from mail-qk1-f170.google.com ([209.85.222.170]:42757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4DDb-0004Ud-9D for 45020@debbugs.gnu.org; Thu, 15 Jul 2021 22:04:50 -0400 Received: by mail-qk1-f170.google.com with SMTP id c68so2530496qkf.9 for <45020@debbugs.gnu.org>; Thu, 15 Jul 2021 19:04:47 -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:content-transfer-encoding; bh=+wfJgKpDzw/f9CJWd5jkhGpseBIk1vuQnSCezHgBjzg=; b=eGlW+S7MHpJCFk0qEYsFFdUycbHOqHSp/fTxATXuj3o6Wi4eFLk+46KuUf5s/Gr91S tQj7y/ZltP22IqptMWBpIpFAy0Jt6C4DNcqlFzDQCV+mckflSFnByftPpRmFfUsUrsFW UKbByYUdMUAKs3BEsK1x6pNusjJR1+xijxBKu/DOCnYjsjvG3R3sUdJS+CY4r/oLjeiW iJa5MXzaMvbz/g1gZ4EfWCu0v7X+2cPWk21D9yepmiKIKwOr7xZenc1rfe6Z+3Foq+gL I5H2wHURpFyfpV9fLp+sKfmuBKBVUPmnkn+/yjOecFh1BZ3CkyNwPqMlFd41KSqLj0Db fjfg== 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:content-transfer-encoding; bh=+wfJgKpDzw/f9CJWd5jkhGpseBIk1vuQnSCezHgBjzg=; b=ixPx87uf9cqiEAsACId+QQtfkVXgy1OA/zZCVUnBG/ZmVgoW01A9vQPNUu51+2WKQ6 pvrI2YjvZnyAc7WvJmMw3tZ/H7OpGOOguwM0s9nbzdCHP7MFZQfenV/jotb4NhQSS1Zj 4CEv1qNDvIXsZnYWEfKdeQbXKQLlkDbxZI/aNmDWf9IiFjLEC7zAS/o1UHQvlbgGZeG/ qqKH8CFtNQkVd+ltvIbt8HAa+ZoKenG2JZH5BD+KS2qSEUwgM8n52nPU82yqTGQLUxgt TjdeKi6JFZ1BrMgvJWf8CoLKcKMzyOcnNHcKGHTET833EVi44QrcizicdL91bLlQ6Zv1 E9SA== X-Gm-Message-State: AOAM531EcdnRFw6QPDFZR5I/OucUp6BV1Ct4ij2/fZKLvbUn+6R/Yvu2 2tO13qL1SsGiL9dihP1UdW+dc/c1f+plnjNu X-Google-Smtp-Source: ABdhPJxmQwPzuno5b2ZhbYjUhg7CndR6TI52aco9DRXFF/UTUsxCGcIzIgQ3Ei6bf534WHM7Gl6oQA== X-Received: by 2002:a05:620a:4011:: with SMTP id h17mr7227671qko.236.1626401081315; Thu, 15 Jul 2021 19:04:41 -0700 (PDT) Received: from hurd (dsl-159-138.b2b2c.ca. [66.158.159.138]) by smtp.gmail.com with ESMTPSA id b25sm3271510qkk.111.2021.07.15.19.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jul 2021 19:04:41 -0700 (PDT) From: Maxim Cournoyer References: <20201203105353.149482-1-othacehe@gnu.org> <87eejw5lsn.fsf@gnu.org> <87h7orpgsh.fsf@gnu.org> <87czze3obq.fsf@gnu.org> <87czzbfl0k.fsf@gnu.org> Date: Thu, 15 Jul 2021 22:04:39 -0400 In-Reply-To: <87czzbfl0k.fsf@gnu.org> (Mathieu Othacehe's message of "Tue, 15 Dec 2020 10:58:51 +0100") Message-ID: <87o8b3m2tk.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626401109; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: 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=+wfJgKpDzw/f9CJWd5jkhGpseBIk1vuQnSCezHgBjzg=; b=i+n4Aic3mz4/N/V4PwO19o/5MrqFVupPzz6gDTp4n7RWo3EBAgZwfWjk0A3SYH6yK+eZN8 D+0JNFJUuXtM40imImIfkHFnIAvXamR1OfXy7tYvvbUhZU/jeOmIz94m+N31kms2n8wgct jHsvPfH6PPCnzvleOmvdQRY/LgJKwuvZSp3+mnlv+WwS+PrbF3n38r3vC7JPphG2JJdP+9 /F3ExhTrkVTQ2ZwwmDiw7kF5OCL4wDlYMsWR4ER6yTB1wjPbOV029uEygcDLHehIRHvBEg bY0y6R8SfnM2S6G0oHHxKFeuBb5j+Jy/9anb353PFtXFWmjoWHKj+VJGRt8sSA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626401109; a=rsa-sha256; cv=none; b=BOQq6sSgTNzITBRAxqSMvmm9KeX78stoML5vwlh2+ydlQjbsmmaXnIpBMsMSVtxs+mpH5Q NHfkcxVxP/j7iTH+ga3cIHx6lEq6P+/WnSx5SR44KThrMsO/qAug3k97tpJmnyxeT6Q89Z HbVo3MVyPqsYkWBlU2TQ2tTVA4OPBig0JYMSTS9ooqgv8dtS4zmDMJ1NBl0SSOQBB7vs1k jEa8M1QaTZSFcyrm4e/EjDYxkpsqrSfcjqIj8/m/ivxZG4fMPsSPafoTJenFKgtOUEBktV 8E6Quxv3Ims6/OD0IeU4RiLVzwKaym+CNj6/ZTlWs6FJeu/A0i5tpegvDrtDcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=eGlW+S7M; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Spam-Score: -1.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=eGlW+S7M; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 9A2AB1B0CA X-Spam-Score: -1.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: kXX5+F4ufSaG Hello, Mathieu Othacehe writes: > 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 :) I see this hasn't landed to the repo yet. Are you still refining it, or has it fallen into cracks? Just checking :-). Thank you, Maxim