[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55227] [PATCH core-updates v3 1/8] gnu: commencement: Add bootstrap
From: |
Jan (janneke) Nieuwenhuizen |
Subject: |
[bug#55227] [PATCH core-updates v3 1/8] gnu: commencement: Add bootstrap-seeds. |
Date: |
Fri, 13 May 2022 17:36:24 +0200 |
* 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..ebb4ea98f1 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2014, 2015, 2017 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2017, 2018, 2019, 2021, 2022 Efraim Flashner
<efraim@flashner.co.il>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2018, 2019, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2018, 2019, 2020, 2021 Jan (janneke) Nieuwenhuizen
<janneke@gnu.org>
;;; Copyright © 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020, 2022 Timothy Sample <samplet@ngyro.com>
;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
@@ -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 (origin
+ (method url-fetch)
+ (uri (list
+ (string-append "mirror://gnu/guix/mirror/"
+ "bootstrap-seeds-" version ".tar.gz")
+ (string-append
+ "https://lilypond.org/janneke/guix/20220501/"
+ "bootstrap-seeds-" version ".tar.gz")))
+ (sha256
+ (base32
+ "0scz2bx8fd8c821h6y1j3x6ywgxxns7iinyn9z32dnkiacfdcpfn"))))
+ (native-inputs (list bootar))
+ (build-system trivial-build-system)
+ (arguments
+ (list #: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)))))
+ (home-page "https://github.com/oriansj/bootstrap-seeds")
+ (synopsis "The initial bootstrap seeds: 357-byte hex0 and kaem shell")
+ (description
+ "This package provides pre-built binaries of the 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)
--
2.35.1
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, (continued)
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, Ludovic Courtès, 2022/05/12
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, Jan Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, Jan Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, Jan Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, Jan Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, Jan Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates v3 1/8] gnu: commencement: Add bootstrap-seeds.,
Jan (janneke) Nieuwenhuizen <=
- [bug#55227] [PATCH core-updates v3 3/8] gnu: commencement: mes-boot: Update to 0.24, build with M2-Planet., Jan (janneke) Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates v3 6/8] gnu: bootstrap: Remove %bootstrap-mescc-tools, %bootstrap-mes., Jan (janneke) Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates v3 7/8] gnu: commencement: Remove %bootstrap-mes-rewired., Jan (janneke) Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates v3 8/8] doc: Add the "Full-source Bootstrap"., Jan (janneke) Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates v3 5/8] gnu: commencement: tcc-boot0: Update to 0.9.26-1136-g0fbeb2dd., Jan (janneke) Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates v3 4/8] gnu: commencement: tcc-boot0: Use nyacc-1.00.2., Jan (janneke) Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates v3 2/8] gnu: commencement: Add stage0-posix., Jan (janneke) Nieuwenhuizen, 2022/05/13