Message ID | cover.1738851574.git.efraim@flashner.co.il |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1D39D27BBEA; Thu, 6 Feb 2025 14:35:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1AC5227BBE2 for <patchwork@mira.cbaines.net>; Thu, 6 Feb 2025 14:35:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tg2yA-0001EX-Ua; Thu, 06 Feb 2025 09:35:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tg2y8-0001CB-Db for guix-patches@gnu.org; Thu, 06 Feb 2025 09:35:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tg2y7-00034C-Gb for guix-patches@gnu.org; Thu, 06 Feb 2025 09:35:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=88VZo+83AAwLkK/lTFauRG49kmdQcONJB2zKbU+R57M=; b=B+0crOBJ+ujcxNtZyZJK5shdAcBLlUA5L/3qUCXKo2ZUxdRytMHHnYv1qW7fXdZ2ipk7LM/noSTEiaMwZ9AgrP11q5E1rUAvo+sXyhG66L00WrZwFn2qfUzETc+QvhVUvigMeIn89xSigYOv9dT94NtpPRuQndb3vg0O8GvsB+R4KekL7voDG/fg/Kpqf5WOdWOQGCWEcTa/x8u5hgT5xAU40Xypqz7Go/4K0bFhmOvT9o8jYBZTkdm0gNj1UlB5UKhGE10cISRBTCKGZlhb7iaghOUaxv/XK6Gyjs0OHUHq0HyINbxMrwRzLNzzrNcJZEBowLakcL0H9+ZiBW+pkA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tg2y6-0005jZ-9v for guix-patches@gnu.org; Thu, 06 Feb 2025 09:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76098] [PATCH 0/4] Patches towards a release Resent-From: Efraim Flashner <efraim@flashner.co.il> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Feb 2025 14:35:02 +0000 Resent-Message-ID: <handler.76098.B.173885248722011@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76098 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76098@debbugs.gnu.org Cc: Efraim Flashner <efraim@flashner.co.il> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173885248722011 (code B ref -1); Thu, 06 Feb 2025 14:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Feb 2025 14:34:47 +0000 Received: from localhost ([127.0.0.1]:55048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tg2xq-0005iw-Ne for submit@debbugs.gnu.org; Thu, 06 Feb 2025 09:34:47 -0500 Received: from lists.gnu.org ([2001:470:142::17]:57984) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <efraim.flashner@gmail.com>) id 1tg2xn-0005ih-Iy for submit@debbugs.gnu.org; Thu, 06 Feb 2025 09:34:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <efraim.flashner@gmail.com>) id 1tg2xh-00017t-PY for guix-patches@gnu.org; Thu, 06 Feb 2025 09:34:37 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <efraim.flashner@gmail.com>) id 1tg2xf-0002yt-RX for guix-patches@gnu.org; Thu, 06 Feb 2025 09:34:37 -0500 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4361e89b6daso6431535e9.3 for <guix-patches@gnu.org>; Thu, 06 Feb 2025 06:34:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738852474; x=1739457274; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=88VZo+83AAwLkK/lTFauRG49kmdQcONJB2zKbU+R57M=; b=nqDLUSBrsZE8/0xO4HYBji0vYOeP07uSP8dGJWiIqHBb/AFqTkXWwofq7vaTFLSkNI JQJpkw64Ig4b09pMAbsm+O8F200nrHQWpnKbCHvZEmN7vsElCAraiODglzOFhItH605F 0KfbVZ5Rq4tM72P0pUqagTkw8JvfBmViGbFYbgmSqHU65WYW861dLpXkbaBDG6QSQF+B rnanr/FmpTqQRXMt1VZbMavfKgKb7vz/Jpvxe8fEIpUu7Q9hHD4D4EGaLWOVlaKFEv2V u0VRjpjPLvPwNbWVfXNDzPgUWsUUTTsw8RfkjyOXJ3PzcuPUD/AIdS+atczThP5+0IyS qYPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738852474; x=1739457274; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=88VZo+83AAwLkK/lTFauRG49kmdQcONJB2zKbU+R57M=; b=dsgT5ZtoNfrCA1GgQ8kdyrhdn9q+jQNh/jcyf9HM4/jcLiL6XkiKFhc522Pw+KYqmI CZE2Qz1tzmulmdkbLu++rFI0y/GOXzhkTrF6lhAdvNZ+OQIg83NzHC5YMMF2/05S2XgD Iak331pV2/p1huHr24Qk1v3vc49aBzuSLJNgMB9epbCWRtevtjE8vxs68z8DWf/trylA Lkmd1efXodqL4zMP8EbyeT93+X71i998h6J3YIxLZo0hgH9XJDXFYuUSD6VRDX81dZ7u R5vweWbLoNL1H4RIX6sIHoINIMDA0ukbHrRXyK6rKI3Cjny+9t/TFsDEKXk9VvBybY1e IW1A== X-Gm-Message-State: AOJu0YwUV7quCU5NEg9tHC0sx660N7O087Yqe+gSvD09Vq4VRO8k3s4E rDwDVJtn9AYAGahRCThL/DdILQCFNn6MNOYr24LNIpgLUAIQzSia3Yg87MIm X-Gm-Gg: ASbGncvOb8SaVpUCusYEntQV/KrwE+ZE0HuxTbKXTOo+/ERP+Jh/h9ktpGRSADn9jjA aVp4uFYCUR/nindjYhsbzo2j3TlZGkGJg15DRt8FEcU1QYDa9fcphVvwMnLD6cfbE5BIhCwyxih yWAc82BjldLCp7zhAX09hQPjm//k9EnmN37z015K5izJ9+/i2777u4Q9gD/XvbyuVy+hCh8kzeG f5FiIdNwEn9Lb9abRNye2ZMKd1Eyvp44E0LPxOTsygf7WGQPxAmEfCF5xcij667GwXoZMQJTbxO mNSsdLyXUK+PFC+FeBS3 X-Google-Smtp-Source: AGHT+IFD9vTPCUmLKhnn0+j3UotBXU9mZ3tD9Si+29Vsri469fx1gChFoXFSN9qBNipJUiQPTGcDIg== X-Received: by 2002:a05:600c:3b11:b0:434:a7b6:10e9 with SMTP id 5b1f17b1804b1-4390d43f76emr55869575e9.17.1738852473230; Thu, 06 Feb 2025 06:34:33 -0800 (PST) Received: from localhost ([141.226.10.168]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4390db1150csm57532205e9.39.2025.02.06.06.34.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Feb 2025 06:34:32 -0800 (PST) From: Efraim Flashner <efraim@flashner.co.il> Date: Thu, 6 Feb 2025 16:34:11 +0200 Message-ID: <cover.1738851574.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=efraim.flashner@gmail.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.07, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series | Patches towards a release | |
Message
Efraim Flashner
Feb. 6, 2025, 2:34 p.m. UTC
In the process toward a new release I took a look at the 'release' make target and the release.scm manifest to start. In the Makefile: * Added riscv64-linux as a supported system * switch the assert-binaries-available make target we've used previously to make sure we have substitutes for a base set of packages to point to the installer manifest. If the purpose of the installer is to install and then everyone expected to run `guix pull` then we need the packages from the installer. release.scm: I don't have a real good use for this manifest currently, but I've made some changes anyway: * %base-packages already existed in (gnu system), and that seemed like a good list of packages that we would need. * %system-packages: The note mentioned the installer, so I copied the work I did on the installer.scm to this list. installer.scm: A manifest which only checks that we have substitutes for what can be installed using the TUI installer (assuming no extra added items). It differs from the GUIX_SYSTEM_INSTALLER_SYSTEM variable in the Makefile by including aarch64 as an architecture. Ideally all the packages should compile, which would allow someone to run the installer successfully for x86_64-linux, i686-linux or aarch64-linux. cross-compile.scm: Ideally all the packages one would need to produce an OS image for another architecture we support, or the same %base-packages for other architectures we have. Currently it only tests from x86_64-linux. Ideally I'd like to see the installer.scm and cross-compile.scm manifests added to cuirass. I'd hope we could keep 100% build on installer.scm so we can actually offer all the options in the installer, and the cross-compile.scm manifest might need to be split so we can focus on cross-compiling an OS config vs cross-compiling binaries for another architecture. Efraim Flashner (4): Makefile.am: Add riscv64-linux as a supported-system. etc: manifests/release: Adjust for changes in Guix. etc: Add installer manifest. etc: Add cross-compile manifest. Makefile.am | 15 +-- etc/manifests/cross-compile.scm | 167 ++++++++++++++++++++++++++++++++ etc/manifests/installer.scm | 112 +++++++++++++++++++++ etc/manifests/release.scm | 51 +++++----- 4 files changed, 312 insertions(+), 33 deletions(-) create mode 100644 etc/manifests/cross-compile.scm create mode 100644 etc/manifests/installer.scm base-commit: 782cc91970a795a58d10391f387cc12e4bfd1c90
Comments
Hello Efraim, Thanks for leading this effort! Efraim Flashner <efraim@flashner.co.il> skribis: > In the Makefile: > * Added riscv64-linux as a supported system One issue is that ci.guix, which is responsible for building release artifacts (tarballs and ISOs), doesn’t build for riscv64-linux nor for armhf-linux actually. One way would be to add riscv64 and aarch64/armv7 hardware behind ci.guix; another way would be to get bordeaux.guix to build these. > * switch the assert-binaries-available make target we've used previously > to make sure we have substitutes for a base set of packages to point > to the installer manifest. If the purpose of the installer is to > install and then everyone expected to run `guix pull` then we need the > packages from the installer. That was the purpose of ‘release.scm’. Perhaps instead of having an unused ‘release.scm’, just make it what you currently have in ‘installer.scm’? > installer.scm: > A manifest which only checks that we have substitutes for what can be > installed using the TUI installer (assuming no extra added items). It > differs from the GUIX_SYSTEM_INSTALLER_SYSTEM variable in the Makefile > by including aarch64 as an architecture. Ideally all the packages > should compile, which would allow someone to run the installer > successfully for x86_64-linux, i686-linux or aarch64-linux. > > cross-compile.scm: > Ideally all the packages one would need to produce an OS image for > another architecture we support, or the same %base-packages for other > architectures we have. Currently it only tests from x86_64-linux. ‘release.scm’ was lumping all that together, but maybe it’s more convenient to separate it as you did, indeed. > Ideally I'd like to see the installer.scm and cross-compile.scm > manifests added to cuirass. I'd hope we could keep 100% build on > installer.scm so we can actually offer all the options in the installer, > and the cross-compile.scm manifest might need to be split so we can > focus on cross-compiling an OS config vs cross-compiling binaries for > another architecture. We can definitely add them to Cuirass. Thanks, Ludo’.