From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id VBPPM4K/iWLMCAEAbAwnHQ (envelope-from ) for ; Sun, 22 May 2022 06:43:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kJrUMoK/iWIfcwEA9RJhRA (envelope-from ) for ; Sun, 22 May 2022 06:43:46 +0200 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 5BACB25566 for ; Sun, 22 May 2022 06:43:46 +0200 (CEST) Received: from localhost ([::1]:47112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsdRR-0006B2-Cu for larch@yhetil.org; Sun, 22 May 2022 00:43:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsdQr-0006Au-TL for guix-patches@gnu.org; Sun, 22 May 2022 00:43:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsdQk-0006D5-HD for guix-patches@gnu.org; Sun, 22 May 2022 00:43:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nsdQk-0006Wy-C3 for guix-patches@gnu.org; Sun, 22 May 2022 00:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55227] [PATCH core-updates 1/8] commencement: Add bootstrap-seeds. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 May 2022 04:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55227 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Jan (janneke) Nieuwenhuizen" Cc: 55227@debbugs.gnu.org Received: via spool by 55227-submit@debbugs.gnu.org id=B55227.165319455325065 (code B ref 55227); Sun, 22 May 2022 04:43:02 +0000 Received: (at 55227) by debbugs.gnu.org; 22 May 2022 04:42:33 +0000 Received: from localhost ([127.0.0.1]:43424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsdQA-0006W5-MP for submit@debbugs.gnu.org; Sun, 22 May 2022 00:42:32 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:39856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsdQ6-0006Vq-Rr for 55227@debbugs.gnu.org; Sun, 22 May 2022 00:42:25 -0400 Received: by mail-qt1-f174.google.com with SMTP id x7so7403029qta.6 for <55227@debbugs.gnu.org>; Sat, 21 May 2022 21:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Wb8LFbo02NWPSmiiDTkxp+I/GHG2LeeiDDqMVwGq7C4=; b=PC9y0r6EANtyDy1/951BBrkabeb/UJ2GaZA81SSR3cv+YvIbME+cdQjBqdVvlMn+wW N7C7EJHnljyx7AiDnB/FljYEia6AnpNwt26tBC4UpwrL1hnozBSJc6tyUKv9Dakmlz5K F/GS0rXbIHk0VcOMOnvamZjFo6LUKATU1OAzyAnpLeN+/LtdRDg1XM4N2ab7Z2ek/4Vs ouKwAtpW3cymIY28CHCYU8onJhu9Ky//FaBfWy11fi6kmjPpHjonRYC87pAmltgmH1yI J7nDJcQbDgWLpBxg3xWjpwjgg/EZD0e8/RAZ5sHyf+/NjNZwjkZkjIDG+sj0W8ezUdTB VU+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Wb8LFbo02NWPSmiiDTkxp+I/GHG2LeeiDDqMVwGq7C4=; b=ysaSK3/GppIQ6Bynj9RrlovGdymYI1pWkti3uVbQQjzxxdST+h7zT5oLJfbZgVT7eh mNPXD3Js7F0ckAOjyjb19U/juvyBhTObrdH+sEIKwnVSFQczcE3Y5NvqXmq9a0l5fLBt 9HkaTELumst1qw8092XrQfiQrpdU3BEcPiY7NciO4BhX8pUHqvE7QFNSrMUoMuqJ9YA4 eDYxjiFkp4DW96QKrBNeBD/OyvHzOURRHqV0QfbY3OaTnvBks0FC4eRNzaEnvOzVdn5w jn8eAm0jGbpeAtRaLcBjKdDR2GY86vNx6B0J0BGM7kmTAO8XOI3acFQ7wpMs35C1SSK7 FeAA== X-Gm-Message-State: AOAM531HJosBil6PPQP9HHzrFbKUh1lpFs0LPATm3ddO26DMtmXmViST CdqDdOP1RzPtSZ7nSeLFIBURLqn535t9/zQm X-Google-Smtp-Source: ABdhPJzUKplDzp/fCnDuvg9grKssGSOi4GnjmC4LVqNoxRmKeLns5vsxJVqG8UN0XS5BGal1+cKfeg== X-Received: by 2002:a05:622a:64e:b0:2f3:f4a2:f3cb with SMTP id a14-20020a05622a064e00b002f3f4a2f3cbmr12698060qtb.626.1653194537207; Sat, 21 May 2022 21:42:17 -0700 (PDT) Received: from hurd (dsl-152-80.b2b2c.ca. [66.158.152.80]) by smtp.gmail.com with ESMTPSA id x8-20020ac87a88000000b002f39b99f688sm2198771qtr.34.2022.05.21.21.42.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 May 2022 21:42:16 -0700 (PDT) From: Maxim Cournoyer References: <20220502182105.32068-1-janneke@gnu.org> <20220502182434.32130-1-janneke@gnu.org> Date: Sun, 22 May 2022 00:42:15 -0400 In-Reply-To: <20220502182434.32130-1-janneke@gnu.org> (Jan Nieuwenhuizen's message of "Mon, 2 May 2022 20:24:27 +0200") Message-ID: <877d6e6uvs.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653194626; 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=Wb8LFbo02NWPSmiiDTkxp+I/GHG2LeeiDDqMVwGq7C4=; b=tiAz9xSYF3YmX3IDG/W6l+TNePqOUtutD0ENK6DpnWNiDgPWSr+XwuKPo1JcwEd6RVf7hg xHCsikQzHqyHir6TRTwWDyUbOIFQNUCKLQT/VV4GLQgs8A+v53WlKex5n9MK/TGiY+z+xZ mFo+GR2OVCS+EQi6mgp6hp+tgU4+NcxfHg6eOGbNcGskrQ/tNehCtkI8FPJk7ptSLfjc67 YF8PuIxBMddHpPT9BxGznRpij4mcU9BqPKCyx57iAfc5ekcjEg3eayraNxwd7JoGPbMGCT XhZXdOQjDNaOpPTbRDQ0wi7IGCIgX+cLzchve11rgw7BSxmvfXItd9FGECrYzQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653194626; a=rsa-sha256; cv=none; b=iPBidcTBYw/OKyOpSlHGF0B4STy9f5b5JZMSEqcBt/dCTgyPG3VtA8Ug3bt93vFakAUyL2 9lHjsjkAxOvVcLSXGABulW+5cfIYPFk+RhL27+qtGj8rxHjUgzYK8ycYCjhJEVuqt8amsB ErK6fD02m20N19dK7K8InRJr9nKn24CIKhqfcIW7aS3487V+5WsUMKrr70Nw62yHVuuHTx u6cjGMCwa8ShSaUpilUJ4WizdWn1H6TmsFWUdnsoikLkBJYdmI9EO1+0huW5nxlIi0KSSE BGzg+0twceCqV6Wh5sngPx146ZIyB5+ch79Y7S0Xtm8kBZCdA83BLTHmQtSrWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PC9y0r6E; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.95 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PC9y0r6E; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5BACB25566 X-Spam-Score: 5.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: S4IviPTVV4E2 Hi Jan, "Jan (janneke) Nieuwenhuizen" writes: > * gnu/packages/commencement.scm (bootstrap-seeds): New variable. > --- > gnu/packages/commencement.scm | 42 ++++++++++++++++++++++++++++++++++- > 1 file changed, 41 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm > index 9d6ed5fd08..663ffacd56 100644 > --- a/gnu/packages/commencement.scm > +++ b/gnu/packages/commencement.scm > @@ -5,7 +5,7 @@ > ;;; Copyright =C2=A9 2014, 2015, 2017 Mark H Weaver > ;;; Copyright =C2=A9 2017, 2018, 2019, 2021, 2022 Efraim Flashner > ;;; Copyright =C2=A9 2018 Tobias Geerinckx-Rice > -;;; Copyright =C2=A9 2018, 2019, 2020 Jan (janneke) Nieuwenhuizen > +;;; Copyright =C2=A9 2018, 2019, 2020, 2021 Jan (janneke) Nieuwenhuizen = > ;;; Copyright =C2=A9 2019, 2020, 2021 Marius Bakke > ;;; Copyright =C2=A9 2020, 2022 Timothy Sample > ;;; Copyright =C2=A9 2020 Guy Fleury Iteriteka > @@ -266,6 +266,46 @@ (define (%boot-gash-inputs) > ("bootar" ,bootar) > ("guile" ,%bootstrap-guile))) >=20=20 > +(define bootstrap-seeds > + (package > + (name "bootstrap-seeds") > + (version "1.0.0") > + (source > + (bootstrap-origin > + (origin > + (method url-fetch) > + (uri (string-append > + "https://lilypond.org/janneke/guix/20220501/" > + "bootstrap-seeds-" version ".tar.gz")) It'd be best to put the bootstrap binaries on the GNU FTP; we already have a directory here: https://ftp.gnu.org/gnu/guix/bootstrap/. I can assist with that if you need. > + (sha256 > + (base32 > + "0scz2bx8fd8c821h6y1j3x6ywgxxns7iinyn9z32dnkiacfdcpfn"))))) > + (native-inputs `(("bootar" ,bootar))) > + (build-system trivial-build-system) > + (arguments > + `(#:guile ,%bootstrap-guile > + #:modules ((guix build utils)) > + #:builder > + (begin > + (use-modules (guix build utils)) > + (let ((source (assoc-ref %build-inputs "source")) > + (tar (assoc-ref %build-inputs "bootar")) > + (out (assoc-ref %outputs "out"))) > + (setenv "PATH" (string-append tar "/bin:")) > + (invoke "tar" "xvf" source) > + (mkdir-p out) > + (copy-recursively "bootstrap-seeds" out) > + #t)))) We no longer need to add #t to build phases, so you can omit it here too. > + (home-page "https://github.com/oriansj/bootstrap-seeds") > + (synopsis "The initial bootstrap seeds: 357-byte hex0 and kaem shell= ") > + (description > + "A prebuilt version of the initial bootstrap seeds. It contains a > +hex0-seed and an optional kaem-minimal shell. The size of the hex0 seed= s are > +for knight: 250 bytes, x86-linux:(357 bytes, x86_64-linux: 431 bytes, and What does "for knight" mean here? Is there an architecture called "knight"? You could use a @table here with the arch as first column and size as second column. Hope that helps, Maxim