Commit Graph

1013 Commits

Author SHA1 Message Date
fosslinux ee77ef837d Update docs with new changes 2023-12-15 21:43:21 +11:00
fosslinux e06a19f9e2 Create a proper Linux kernel package 2023-12-15 21:43:21 +11:00
fosslinux 05c13dd64e Modify rootfs.py infrastructure to support the new layout 2023-12-15 21:43:21 +11: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
fosslinux 0907cfd073 Add script-generator 2023-12-15 21:41:42 +11:00
fosslinux d13320dbfa
Merge pull request #344 from fosslinux/simplify-kexec-prepare
Simplify - kexec preparations
2023-12-15 10:40:04 +00:00
fosslinux 93682cbb92 Expand kexec fiwix initramfs 2023-12-15 21:38:09 +11:00
fosslinux 08bd0ef495 Support command execution in kexec linux arg
! means execute the argument as a command
2023-12-15 21:37:27 +11:00
fosslinux cef781a9f6
Merge pull request #343 from fosslinux/coreutils-stat
Build stat for coreutils
2023-12-15 10:36:16 +00:00
fosslinux d4e0fc9911
Merge pull request #341 from fosslinux/early-tools
Early tools in subdirectories
2023-12-15 10:35:59 +00:00
fosslinux 829f18d604 Rename sysa.ext2 to fiwix.ext2 2023-12-15 21:35:12 +11:00
fosslinux a0d4598028 Move checksum-transcriber to a subdirectory 2023-12-15 21:35:12 +11:00
fosslinux ddd8c8d380 Move simple-patch into a subdirectory
Add a checksum as well.

Closes #323
2023-12-15 21:35:12 +11:00
fosslinux 341a4681f5 Give kexec-fiwix a version number 2023-12-15 21:35:12 +11:00
fosslinux 73c4985aba
Merge pull request #340 from fosslinux/kaem-improv
Kaem-era improvements
2023-12-15 10:34:55 +00:00
fosslinux acddacbe6d
Merge pull request #337 from fosslinux/tarball-unify
Use Linux headers 4.9.10
2023-12-15 10:34:41 +00:00
fosslinux bb6fda569f Build stat for coreutils as well 2023-12-05 15:53:14 +11:00
Andrius Štikonas 70b7bc7f83
Merge pull request #342 from MaxHearnden/sysa-comma 2023-11-29 22:58:05 +00:00
MaxHearnden 773cc5405c add comma to list in sysa.py 2023-11-28 22:50:47 +00:00
fosslinux fc5fc39569 Use (/usr/lib/mes, /usr/include/mes), (/usr/lib, /usr/include)
Mes is now self-contained in;
/usr/lib/mes
/usr/include/mes
/usr/lib/x86-mes

musl adheres to FHS
/usr/include
/usr/lib
2023-11-28 16:56:04 +11:00
fosslinux 1b47720cbc Use uppercase variables in kaem-era
lowercase variables are inconsistent, bring them into line with rest of
live-bootstrap
2023-11-28 16:56:04 +11:00
fosslinux f7c028b588 Nit: simple-patch line length 2023-11-28 16:40:13 +11:00
fosslinux fcaaad8105 Change linux headers to 4.9.10 instead of 5.10.41
Unifies tarball distfiles.
2023-11-28 16:35:41 +11:00
fosslinux fb408c17dd
Merge pull request #338 from MaxHearnden/openssl-1.1.1l
change openssl source in sysc/python-3.11/sources
2023-11-28 05:34:44 +00:00
MaxHearnden 9c8c262f24 change openssl source in sysc/python-3.11/sources 2023-11-28 04:54:46 +00:00
fosslinux 28461d7890 Fix handling of extract 2023-11-28 12:02:50 +11:00
fosslinux fee6175504 Nit: add set -ex to kexec-fiwix 2023-11-28 12:02:19 +11:00
Googulator ed9f268bc8 Change openssl source URL because the old one redirects to HTTPS 2023-11-28 11:41:27 +11:00
fosslinux 1aa0b2103c
Merge pull request #336 from rick-masters/fix-run-as-root
Return process from run_as_root.
2023-11-27 22:01:50 +00:00
rick-masters 4cf2b860ef Fix lint warning for unnecessary else block. 2023-11-27 14:10:37 +00:00
rick-masters 4d20284f85 Return process from run_as_root. 2023-11-27 13:55:05 +00:00
Andrius Štikonas ca2ba18b60 Build simple-patch for rather than hardcoded x86. 2023-11-24 00:58:24 +00:00
fosslinux eb6cbad712
Merge pull request #333 from fosslinux/tinycc_upgrade
Update to newer bootstrappable tcc snapshot.
2023-11-20 05:26:00 +00:00
Andrius Štikonas f98161581c Update to newer bootstrappable tcc snapshot. 2023-11-19 15:49:59 +00:00
Andrius Štikonas c38a58e474
Merge pull request #331 from fosslinux/mes-0.25
Mes 0.25
2023-11-15 19:18:40 +00:00
Andrius Štikonas 737bf61a26 Add amd64 and riscv64 checksums. 2023-11-15 09:56:22 +00:00
Andrius Štikonas 9b81f13714
Merge pull request #326 from nanonyme/sudo-helper
Add a wrapper for commmands needing sudo that checks if you are euid 0
2023-11-14 23:29:52 +00:00
Andrius Štikonas abb46a27b3 Update to mes-0.25. 2023-11-14 00:37:11 +00:00
Andrius Štikonas aae7c4a672 Update stage0-posix to 1.6.0 2023-11-12 20:31:17 +00:00
Seppo Yli-Olli f893df52fe Add a wrapper for commmands needing sudo that checks if you are euid 0 2023-11-08 17:34:56 +02:00
fosslinux 7747e86834
Merge pull request #325 from nanonyme/python2.5
Fix Python 2.5.6 for parallel pgen invocation
2023-11-07 23:44:31 +00:00
Seppo Yli-Olli f9ed2d7a42 Fix Python 2.5.6 for parallel pgen invocation
Backported from 9828b56347.patch
2023-11-07 09:08:34 +02:00
fosslinux 47feb75b08 Move to a different HTTP source for pkg-config 2023-11-07 10:54:13 +11:00
Andrius Štikonas 493ddfa829 Fix a typo.
Closes #318
2023-08-20 01:43:13 +01:00
fosslinux 80e65b7c23
Merge pull request #315 from ajherchenroder/Add-dev-nodes-to-sysc
Add dev nodes to sysc
2023-08-09 22:23:04 +00:00
ajherchenroder 7be4933ab1 Update after.sh to add dev nodes for 3 disks and 3 NVME drives with 3 partitions each.
Update after.sh to add dev nodes for 3 disks and 3 NVME drives with 3 partitions each
fix HD and NVME device major and minor numbers add cd drive
correct indentation
2023-08-09 08:23:35 -04:00
fosslinux fd9e8d547f
Merge pull request #314 from pder/gcc-13-disable-ssp
gcc 13.1.0: don't enable default ssp or pie
2023-07-29 00:21:28 +00:00
Paul Dersey 184535e2df gcc 13.1.0: don't enable default ssp or pie and remove libssp_nonshared.patch 2023-07-24 10:08:26 -04:00
fosslinux 46d80b8605
Merge pull request #313 from stikonas/meslibc+tcc
Build libc+tcc with mes rather than mes-m2.
2023-07-24 06:29:36 +00:00
Andrius Štikonas 10fd92f9c7 Build libc+tcc with mes rather than mes-m2. 2023-07-23 17:03:32 +01:00