From patchwork Mon May 2 18:24:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 39065 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1866027BBEA; Mon, 2 May 2022 19:25:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 35E3527BBEB for ; Mon, 2 May 2022 19:25:21 +0100 (BST) Received: from localhost ([::1]:46746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlajY-000515-AO for patchwork@mira.cbaines.net; Mon, 02 May 2022 14:25:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlajG-00050w-FA for guix-patches@gnu.org; Mon, 02 May 2022 14:25:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44091) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlajG-0000wO-6o for guix-patches@gnu.org; Mon, 02 May 2022 14:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlajG-0003FN-3i for guix-patches@gnu.org; Mon, 02 May 2022 14:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55227] [PATCH core-updates 1/8] commencement: Add bootstrap-seeds. References: <20220502182105.32068-1-janneke@gnu.org> In-Reply-To: <20220502182105.32068-1-janneke@gnu.org> Resent-From: "Jan (janneke) Nieuwenhuizen" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 May 2022 18:25: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: 55227@debbugs.gnu.org Received: via spool by 55227-submit@debbugs.gnu.org id=B55227.165151588912376 (code B ref 55227); Mon, 02 May 2022 18:25:02 +0000 Received: (at 55227) by debbugs.gnu.org; 2 May 2022 18:24:49 +0000 Received: from localhost ([127.0.0.1]:37966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlaix-0003DQ-5Z for submit@debbugs.gnu.org; Mon, 02 May 2022 14:24:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlaiv-0003Cr-6R for 55227@debbugs.gnu.org; Mon, 02 May 2022 14:24:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33876) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlaip-0000sJ-T5; Mon, 02 May 2022 14:24:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=CEbWSejJp5JPN2yFQjFpOMmaCElJ28CfMDCj9YST+WY=; b=GAXo9QjsslULJ3 64vumfI/OeQT8Z+YGk5gbs+gTwwsYlwIEjeTg4+1VJZo+YtLo3TshYusxUQMOCww9449PIXNd4t2y TUDMoEbToVAnudHxLGXaVTpAowxtO47HBKooyQAvA72nbGYCZK8Jd4KDWzk4GXojpfPj7qK+t5DAH ZDZdaV6SlKM6vv9Ec3rr7XFIT0MynYGsgScK+18XPwFHJTEEWOONI2gx52ykEhiSFN7mFk+FRXKuK kVxXm2YXA72RETSkrVCCy5EjmKBop/0tchvX1/OzC9rmZLwES6jdhnRgkTSr2NBIN49B/N50Tyoio b71E7bOx6Hg/iWQPKNNQ==; Received: from 2a02-a462-da03-1-fa3e-1174-c33f-9485.fixed6.kpn.net ([2a02:a462:da03:1:fa3e:1174:c33f:9485]:48262 helo=drakenbij.fritz.box) by fencepost.gnu.org with esmtpa (Exim 4.90_1) (envelope-from ) id 1nlaip-0006Dq-HH; Mon, 02 May 2022 14:24:35 -0400 From: "Jan (janneke) Nieuwenhuizen" Date: Mon, 2 May 2022 20:24:27 +0200 Message-Id: <20220502182434.32130-1-janneke@gnu.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 © 2014, 2015, 2017 Mark H Weaver ;;; Copyright © 2017, 2018, 2019, 2021, 2022 Efraim Flashner ;;; Copyright © 2018 Tobias Geerinckx-Rice -;;; Copyright © 2018, 2019, 2020 Jan (janneke) Nieuwenhuizen +;;; Copyright © 2018, 2019, 2020, 2021 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2019, 2020, 2021 Marius Bakke ;;; Copyright © 2020, 2022 Timothy Sample ;;; Copyright © 2020 Guy Fleury Iteriteka @@ -266,6 +266,46 @@ (define (%boot-gash-inputs) ("bootar" ,bootar) ("guile" ,%bootstrap-guile))) +(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")) + (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)))) + (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 seeds are +for knight: 250 bytes, x86-linux:(357 bytes, x86_64-linux: 431 bytes, and +aarch64-linux 526 bytes. These can be used to build stage0: hex0, hex1, hex2, +M1, and M2-Planet.") + (license license:gpl3+))) + (define %bootstrap-mes-rewired (package (inherit mes)