[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55227] [PATCH core-updates 1/8] commencement: Add bootstrap-seeds.
From: |
Jan Nieuwenhuizen |
Subject: |
[bug#55227] [PATCH core-updates 1/8] commencement: Add bootstrap-seeds. |
Date: |
Sun, 22 May 2022 08:05:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Maxim Cournoyer writes:
Hi Maxim!
> "Jan (janneke) Nieuwenhuizen" <janneke@gnu.org> writes:
>
>> * gnu/packages/commencement.scm (bootstrap-seeds): New variable.
]..]
>> +(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.
Thanks. Ludo already made that remark
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55227#46
and it has been changed in the v3 patch series
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55227#97
which has already been installed in core-updates. The only puzzle that
remains is the coding of some of the native-inputs.
>> + #: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.
Right, same remark.
>> +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
>
> What does "for knight" mean here? Is there an architecture called
> "knight"?
Yes, it's a simple/ancient machine from the 70s (?) I belief, and having
a working VM for Knight is/was one of the goals of the Stage0 project
(to eleminate the dependency on a kernel like Linux).
> You could use a @table here with the arch as first column and
> size as second column.
> Hope that helps,
Thanks, I'll consider that.
Greetings,
Janneke
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://lilypond.org
Freelance IT https://JoyOfSource.com | Avatar® https://AvatarAcademy.com
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, (continued)
[bug#55227] [PATCH core-updates 4/8] commencement: tcc-boot0: Use NYACC-1.00.2., Jan (janneke) Nieuwenhuizen, 2022/05/02
[bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, Ludovic Courtès, 2022/05/12
[bug#55227] [PATCH core-updates 1/8] commencement: Add bootstrap-seeds., Maxim Cournoyer, 2022/05/22
- [bug#55227] [PATCH core-updates 1/8] commencement: Add bootstrap-seeds.,
Jan Nieuwenhuizen <=
[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, 2022/05/13