Commit graph

15 commits

Author SHA1 Message Date
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
fosslinux
bb6fda569f Build stat for coreutils as well 2023-12-05 15:53:14 +11:00
Andrius Štikonas
a0cb0dfd60 Add tac to coreutils-5.0. 2022-06-22 18:47:42 +01:00
Andrius Štikonas
119c96b9da Rebuild false.c in coreutils 5.
This was spotted in #176.

Note that coreutils 8.32 does not need to rebuild false.c as it
implements it via compile-time #defines.
2022-06-14 23:13:05 +01:00
Andrius Štikonas
45924ae12a Remove factor binary (issue #176)
Only coreutils 5 is affected. We don't build factor in coreutils 6
and coreutils 8.32 does not use pregenerated headers in its implementation
of factor.
2022-06-06 21:42:24 +02:00
fosslinux
b760b3eb2b Final fixes:
- All QEMU reproducibility issues resolved
- Added SPDX licensing
- Couple other small issues
- Fix guile reproducbility
2022-03-12 16:24:25 +11:00
fosslinux
07d4408fb6 Build touch in coreutils-5.0 pass2
Better touch is very useful for packaging.
2022-03-07 19:02:12 +11:00
fosslinux
b8ef19150c Fix various things to use ${DESTDIR} 2022-03-07 19:02:12 +11:00
Andrius Štikonas
35a7df58b7 Build chroot in coreutils-5.0 step. 2021-10-10 12:18:08 +01:00
Andrius Štikonas
70d1fc4163 Add support for DESTDIR variable in make install. 2021-04-02 12:24:40 +01:00
Paul Dersey
19c113127b coreutils-5.0: build sync in pass2 2021-03-24 15:29:55 -04:00
Andrius Štikonas
fe26bc4c8c Do not use pre-generated getdate.c 2021-03-13 21:31:27 +00:00
Andrius Štikonas
55e2af0b22 Add dirname and env. 2021-03-10 18:53:18 +00:00
Paul Dersey
7803089a6b Build and install cp from coreutils to replace our minimal cp
Also update tcc-musl.sh to take advantage that cp can now copy
recursively
2021-02-21 12:24:05 +00:00
Paul Dersey
d5a9f4c9ea Rebuild coreutils-5.0 with tcc+musl and more utilities
Add comm, expr, date, dd, sort, uname, uniq
2021-02-11 18:35:28 -05:00