Commit Graph

21 Commits

Author SHA1 Message Date
Gábor Stefanik 5d5eb5d73b Add builder-hex0 as a submodule 2024-01-21 19:04:56 +01:00
fosslinux 6ed2e09f3a Remove the notion of "sys*"
- This idea originates from very early in the project and was, at the
  time, a very easy way to categorise things.
- Now, it doesn't really make much sense - it is fairly arbitary, often
  occuring when there is a change in kernel, but not from builder-hex0
  to fiwix, and sysb is in reality completely unnecessary.
- In short, the sys* stuff is a bit of a mess that makes the project
  more difficult to understand.
- This puts everything down into one folder and has a manifest file that
  is used to generate the build scripts on the fly rather than using
  coded scripts.
- This is created in the "seed" stage.

stage0-posix -- (calls) --> seed -- (generates) --> main steps

Alongside this change there are a variety of other smaller fixups to the
general structure of the live-bootstrap rootfs.

- Creating a rootfs has become much simpler and is defined as code in
  go.sh. The new structure, for an about-to-be booted system, is

/
-- /steps (direct copy of steps/)
-- /distfiles (direct copy of distfiles/)
-- all files from seed/*
-- all files from seed/stage0-posix/*

- There is no longer such a thing as /usr/include/musl, this didn't
  really make any sense, as musl is the final libc used. Rather, to
  separate musl and mes, we have /usr/include/mes, which is much easier
  to work with.
- This also makes mes easier to blow away later.
- A few things that weren't properly in packages have been changed;
  checksum-transcriber, simple-patch, kexec-fiwix have all been given
  fully qualified package names.
- Highly breaking change, scripts now exist in their package directory
  but NOT WITH THE packagename.sh. Rather, they use pass1.sh, pass2.sh,
  etc. This avoids manual definition of passes.
  - Ditto with patches; default directory is patches, but then any patch
    series specific to a pass are named patches-passX.
2023-12-15 21:43:19 +11:00
Andrius Štikonas 4d7b25e47a Use the new repository URL for stage0-posix. 2021-06-22 21:18:42 +01:00
Andrius Štikonas 826ff62300 Remove mes-libc submodule. 2021-06-21 22:40:48 +01:00
Andrius Štikonas 987113f0a6 Build patched tcc-0.9.26 from tarball 2021-06-20 22:23:51 +01:00
Andrius Štikonas 40f40ea850 Switch to using mes/nyacc tar packages. 2021-06-20 13:24:35 +01:00
Andrius Štikonas b885cb5727 Update to stage0-posix 1.3. 2021-06-16 21:24:48 +01:00
Paul Dersey 4ae5115d89 Remove sed submodule and update scripts to download sed tarball 2021-03-15 17:18:49 -04:00
fosslinux 116cc15086 Remove blynn-compiler
(at least for now)

Reasons:

1. It takes quite a long time to build.
2. It does not currently provide any value to the bootstrap.
2021-02-26 08:53:14 +11:00
fosslinux 72b1b30c9b Comply with REUSE 3.0 2021-02-08 20:00:10 +11:00
fosslinux 5a369dc783 Restructure 2021-01-20 15:24:37 +11:00
Andrius Štikonas 58b85adbf9 Update sed to 4.0.7. 2021-01-11 22:00:17 +00:00
fosslinux 4b88b5a6f0 Do a bit of renaming so things are versioned 2021-01-11 17:47:13 +11:00
fosslinux 90cd17e453 Revert "Revert "Add tcc 0.9.27""
This reverts commit 238bd677d7.

We can just specifiy -static manually.
2021-01-11 10:40:25 +11:00
fosslinux 238bd677d7 Revert "Add tcc 0.9.27"
This reverts commit 1ebbd69c79.

This requruies sed first to make a modification.
2021-01-11 10:33:09 +11:00
fosslinux 1ebbd69c79 Add tcc 0.9.27
This is the final tcc.
2021-01-10 19:42:58 +11:00
fosslinux a527dae4bd Fix kaem patch 2021-01-10 16:02:38 +11:00
fosslinux 39e0a366be Add tcc 0.9.26
This is the first tcc, which will be used to build 0.9.26p1.

Instructions taken from bootstrap.sh in tcc-0.9.26p1. p1 denotes it has
been patched.
2021-01-10 13:21:32 +11:00
Andrius Štikonas c685ec98bb Add janeke's mes (mes-m2 branch) 2021-01-04 21:43:59 +00:00
fosslinux 19b41d22f4 Move everything into sysa 2020-12-17 11:25:36 +11:00
fosslinux f0959ba2f4 Initial commit
As of right now, rootfs.sh creates an initramfs that:
- boots linux
- builds mescc-tools-seed
- compiles blynn-compiler (from oriansj's fork)
2020-12-17 10:19:25 +11:00