Commit graph

67 commits

Author SHA1 Message Date
Andrius Štikonas
865b9aeae1 Update mes to 0.27.1 2025-09-19 22:43:45 +01:00
Eduardo Sánchez Muñoz
ebe5f0ddff Update final gcc to 15.2.0 2025-09-07 13:25:30 +02:00
Eduardo Sánchez Muñoz
502e8f944c Define "TARGET" variable to avoid hardcoding "i386-unknown-linux-musl" everywhere 2025-07-18 14:28:30 +02:00
fosslinux
58455a873c xz: update and regen files
5.4.1 -> 5.6.4

regenerate/delete files (this would have detected the infamous xz
backdoor)
2025-02-22 22:43:38 +11:00
Andrius Štikonas
5996826bea
Merge pull request #511 from fosslinux/curl-update
Curl update
2025-02-18 23:29:05 +00:00
fosslinux
02ed0da3d2 curl: update to 8.12.1 2025-02-16 12:46:31 +11:00
fosslinux
43b8f4a706 bc: update to 1.08.1 2025-02-16 11:25:19 +11:00
fosslinux
622dd36d1f Replace byacc with oyacc
byacc has an awk script to generate .c files

oyacc seems to work fine instead
2025-02-08 11:30:18 +11:00
fosslinux
4f668371ab Update GCC 10 to 10.5.0 2025-02-06 21:11:17 +11:00
fosslinux
4aaaeff6f2 Update GCC to 13.3 & remove pregenerated files 2025-02-06 09:54:42 +11:00
fosslinux
19b205a382 Update musl to 1.2.5 2025-02-04 19:53:52 +11:00
fosslinux
68d396ef8f Setup to remove pregenerated header files from musl 1.1 2025-02-03 22:17:48 +11:00
Andrius Štikonas
185bd78ec4 Update to mes 0.27. 2024-07-08 21:25:46 +01:00
Andrius Štikonas
e6ed60cec4 Update to mes-0.26.1. 2024-06-25 08:58:12 +01:00
fosslinux
67d92a50f3 Allow the use of configurator under builder-hex0 2024-05-28 21:57:36 +10:00
Andrius Štikonas
2d5a85e770 Update to nss 3.99. 2024-04-28 13:29:00 +01:00
Gábor Stefanik
70fdbebd9c Upgrade mes to 0.26
This can successfully build a working tcc-mes, but then fails
creating unified-libc.c for subsequent tcc bootstrapping.
2024-04-15 22:11:39 +02:00
Andrius Štikonas
281f6e44d9
Merge pull request #455 from Googulator/linux-openela
Upgrade kernel to 4.14.341-openela
2024-04-15 19:41:59 +01:00
Googulator
a5a689c954
Merge pull request #457 from fosslinux/byacc
Move heirloom lex and flex after musl, replace heirloom yacc with byacc
2024-04-15 10:17:13 +02:00
Gábor Stefanik
02fb689ce1 Move heirloom lex and flex after musl, replace heirloom yacc with byacc
This way, heirloom-devtools is only linked to a libc with a CDDL-compatible
license, making it fully redistributable. Heirloom yacc doesn't work properly
with musl libc, but luckily byacc can do its job just fine, so we only need
heirloom lex now.

Thanks to the more complete libc, and bash being available, heirloom's
bootstrap is significantly simplified.
2024-04-15 01:22:50 +02:00
Gábor Stefanik
3970ee7d1a Add byacc parser generator
This is meant to replace heirloom yacc for compiling pre-musl parsers.
Unlike heirloom yacc, it's in the public domain, and can be linked with
meslibc without licensing concerns.
2024-04-14 05:51:30 +02:00
Gábor Stefanik
c75d609cf7 Upgrade kernel to 4.14.341-openela
This is a continuation of the 4.14 series by the Open Enterprise Linux
Alliance, ostensibly to the same maintenance standards as the now
discontinued kernel.org LTS.

This code is primarily offered as a Git repository, with gz tarballs
also available, but no xz versions. Switching back to a gzipped version
of the kernel source code would introduce too much srcfs growth, so we
use the last kernel.org tar.xz release (4.14.336), and apply OpenELA's
changes using a patch generated from the Git repository.
2024-04-14 05:04:24 +02:00
Gábor Stefanik
637fa823f0 Upgrade OpenSSL to 3.0.13
Fixes #451
2024-04-13 23:43:41 +02:00
Gábor Stefanik
11d3605b08 Upgrade Linux kernel to 4.14.336
This is the last LTS version buildable using GCC 4.0.x. The next one,
version 4.19, requires at least GCC 4.6.

Fortunately, this is also the first version of the Linux kernel
without firmware blobs being included in /firmware, so the FSFLA
deblob scripts aren't needed anymore to ensure a fully auditable
kernel - the 3 remaining drivers that do include blobs masquerading
as source code are removed via a patch, avoiding all the other side
effects of the deblob scripts.
This doesn't compromise the trustworthiness of the bootstrapped
environment, since all the other drivers deblob would remove use
the firmware loader mechanism, which does nothing when the actual
firmware blobs aren't installed on the system separately. Features
dependent on firmware still won't work, but many drivers that load
firmware do so only optionally. This includes r8169, the driver for
the Realtek gigabit NICs found on many x86 motherboards.

This kernel is considerably larger than 4.9.10, and we build more
of it (including drivers that would previously get stripped away by
the deblob script, such as r8169), so to accommodate that, Fiwix
initrd size is increased by 64MiB, while lowering kexec space by
the same amount to ensure enough userspace memory available in Fiwix.
Fiwix's maximum open file count is also bumped from 1.5K to 2.5K.

The Documentation folder is deleted before build, to further save
space in the ramdisk.
2024-02-17 15:37:33 +01:00
Gábor Stefanik
32138d13b9 Clean pre-Bash build artifacts before building the Linux kernel
All of these are archived, in a compressed form, in base.tar.bz2.
2024-02-17 15:32:02 +01:00
fosslinux
6b4ec19e19 Add m4 1.4.19 2024-02-07 20:35:22 +11:00
fosslinux
ba9d182471 Revert "Update m4 to 1.4.10"
This reverts commit 6d8cf14998.
2024-02-06 18:06:46 +11:00
fosslinux
ffbdd8bc18 Add gawk 5.3.0 2024-02-05 18:51:49 +11:00
Gábor Stefanik
6d26855dc6 Support reboot in non-chroot modes using grub and an init script
We use grub-2.06 as 2.12 has some packaging issues, and can't be
built in live-bootstrap for now.
2024-02-04 16:54:13 +01:00
fosslinux
9c6e5d6406 Add diffutils 3.10 2024-02-04 14:57:46 +11:00
fosslinux
cb4404029d Add gzip 1.13
Closes #369
2024-02-04 14:55:55 +11:00
fosslinux
6e05585ff9
Merge pull request #426 from fosslinux/opendoas
Opendoas (ie, sudo)
2024-02-04 03:52:25 +00:00
fosslinux
bd303ada4a
Merge pull request #425 from fosslinux/m4-update
Update m4 to 1.4.10
2024-02-04 03:50:55 +00:00
fosslinux
3dee6eab1c
Merge pull request #424 from fosslinux/shadow
Shadow/Users
2024-02-04 03:50:36 +00:00
fosslinux
2188e8182a Add opendoas 2024-02-03 10:07:41 +11:00
fosslinux
6d8cf14998 Update m4 to 1.4.10 2024-02-02 18:05:02 +11:00
fosslinux
bfd951ae51 Add shadow 2024-02-01 21:24:56 +11:00
fosslinux
0696018410 Add libbsd 2024-02-01 21:24:56 +11:00
fosslinux
bbfab004c8 Add libmd 2024-02-01 21:24:56 +11:00
Gábor Stefanik
221f2d0f8e Open shells on virtual terminals for monitoring in interactive mode
We spawn a shell:
- When Bash is first built, on tty2. This shell uses the old Bash,
  so interactive mode needs to be emulated using redirection. Thus,
  entering commands needs to be done using Enter followed by Ctrl+D,
  and certain redirection features are unavailable.
- After moving the system to disk, on tty2. Old Bash, same limitations.
- After 2nd Bash is built, on tty3. This is a fully functional shell.

This is disabled in chroot-like bootstrap modes, or when -i is not set.
2024-01-30 02:50:36 +01:00
fosslinux
7f967fe2dc Cleanup the filesystem at end of bootstrap 2024-01-26 10:29:57 +11:00
fosslinux
62ce1b0c1e Remove old python versions 2024-01-26 10:29:53 +11:00
fosslinux
fb35fcac4c Uninstall previous perl files using uninstall rather than src_install 2024-01-26 10:29:18 +11:00
fosslinux
718bccc7b2 Remove yacc using uninstall rather than in src_install of flex-2.6.4 2024-01-26 10:29:18 +11:00
fosslinux
3669db9125 Use merged usr throughout the entire bootstrap 2024-01-26 10:29:18 +11:00
fosslinux
5b84cdd178 Don't touch live filesystem in bash-5.2.15
Rather, uninstall existing bash before bash is built
2024-01-26 10:29:18 +11:00
fosslinux
bbe121f382 Add uninstall directive to manifest
Allows for removal of old files or packages
2024-01-26 10:29:18 +11:00
fosslinux
9632f6af01 Update coreutils to 9.4 2024-01-26 10:29:18 +11:00
rick-masters
b2f4e3d129 Populate devices so kexec can read /proc/iomem. 2024-01-12 14:59:27 +00:00
Gábor Stefanik
50d1d68f99 Restore multicore build support with kernel-bootstrap
This was removed as part of the simplify refactor, severely slowing
down qemu and bare-metal builds. Restoring it brings us back to the
same build times that we saw before the refactor.
2024-01-08 12:56:15 +01:00