Commit graph

1554 commits

Author SHA1 Message Date
Googulator
b988fb5764
Merge pull request #467 from fosslinux/fix-preseed
Fix early-preseed (and environment variables generally)
2024-05-10 13:07:58 +02:00
fosslinux
6302bb6d20 Fix early-preseed (and environment variables generally) 2024-05-10 12:18:24 +10:00
Andrius Štikonas
f5eb51c2cc
Merge pull request #466 from stikonas/fixes
Fix patch makefile and unfuzzy some early patches.
2024-05-05 22:54:48 +01:00
Andrius Štikonas
6ade9e0e8a Fix patch makefile and unfuzzy some early patches. 2024-05-05 10:09:59 +01:00
Andrius Štikonas
268ccea37d
Merge pull request #465 from stikonas/nss
Update to nss 3.99.
2024-04-28 21:04:20 +01:00
Andrius Štikonas
2d5a85e770 Update to nss 3.99. 2024-04-28 13:29:00 +01:00
Andrius Štikonas
c22e3dac66 Fix a typo in CFLAGS variable name. 2024-04-28 00:38:38 +01:00
Andrius Štikonas
0e6133eed2
Merge pull request #464 from Googulator/grub-reproducibility
Drop non-reproducible manpage from Grub package
2024-04-20 15:19:09 +01:00
Andrius Štikonas
5052c8ad76 Fix a typo reported by Hagfish. 2024-04-20 11:53:05 +01:00
Andrius Štikonas
ca00dd635f
Merge pull request #458 from fosslinux/cleanup_weak_symbols_patch
Remove patch that is no longer needed.
2024-04-19 19:15:21 +01:00
Gábor Stefanik
8c67b9ee9c Drop non-reproducible manpage from Grub package
This embeds the type of the building system's firmware at build time,
causing different checksums on UEFI vs BIOS machines.

Fixes #463
2024-04-19 00:19:29 +02:00
Andrius Štikonas
71253f7f8c Remove patch that is no longer needed.
This fixed some issues with weak symbols but now tcc is properly patched.
2024-04-18 21:28:39 +01:00
Andrius Štikonas
3bbd639937
Merge pull request #461 from fosslinux/update-parts
Update parts.rst
2024-04-17 19:22:50 +01:00
Googulator
cd74988efb
fix typos 2024-04-17 02:29:01 +02:00
Googulator
43f31ce543
Update parts.rst 2024-04-17 02:15:05 +02:00
Googulator
85026900ac
Fix formatting of Pythonless build instructions 2024-04-17 00:59:58 +02:00
Googulator
34a72584c1
Update Pythonless bootstrap instructions
* ``pre-network-sources`` is no more
* builder-hex0 stage1 is no longer precompiled, but instead needs to be generated from hex0 code (using POSIX tools or by hand)
2024-04-17 00:58:50 +02:00
Googulator
27b4f1c766
Merge pull request #460 from Googulator/after-extend
Add extension mechanism to execute .sh files dropped in /steps/after
2024-04-17 00:49:53 +02:00
Gábor Stefanik
c73d8c9dc1 Add extension mechanism to execute .sh files dropped in /steps/after
These are executed at the end of the bootstrap, if /steps/after exists.
In interactive mode, they run before the interactive prompt is displayed.
2024-04-16 20:53:52 +02:00
Andrius Štikonas
5595a06ad9
Merge pull request #459 from Googulator/script-generator-checksum
Add checksum protection to script-generator
2024-04-16 19:25:45 +01:00
Gábor Stefanik
c5eb402eeb Add checksum protection to script-generator 2024-04-16 10:20:39 +02:00
Gábor Stefanik
7f08661b6c Fix a missed amd64 checksum 2024-04-16 10:16:51 +02:00
Andrius Štikonas
0f91a466a1
Merge pull request #356 from Googulator/mes-0.26
Upgrade mes to 0.26
2024-04-16 06:59:39 +01:00
Gábor Stefanik
aa3d36b934 Update checksums for x86, amd64 & riscv64
Also, add missing non-x86 checksums for simple-patch.
2024-04-16 00:24:44 +02:00
Gábor Stefanik
e08f655cd6 Rebuild pregenerated files in nyacc 2024-04-15 22:11:44 +02:00
Gábor Stefanik
c0494d9af8 Fix build of bash with mes-0.26
Since rename.c is now included in meslibc, we need -DHAVE_RENAME.
2024-04-15 22:11:44 +02: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
0c718aeece Update checksums for heirloom yacc -> byacc change 2024-04-15 02:17:59 +02:00
Gábor Stefanik
25443468ee Add files.bootstrapping.world mirrors for all Savannah snapshots 2024-04-15 02:11:05 +02:00
Gábor Stefanik
e2a1df94a5 Add licensing information to byacc's makefile
This makefile was included in the byacc distribution as Makefile.old
It was slightly updated to fit our needs.

Berkeley yacc itself is in the public domain, but SPDX/REUSE provides
no good way to represent this. In keeping with that spirit, I chose
CC0 as the license for my modifications, which SPDX can represent.
2024-04-15 01:43:20 +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
6567973a04 Make byacc actually work when compiled against meslibc
This replaces the previous sed hackery with a proper patch, and removes
a few more libc functions that meslibc is missing.
The binary name is changed to "byacc" so it doesn't get overwritten by
heirloom yacc.

The bsearch() replacement code comes from an earlier version of byacc.
2024-04-14 21:14:04 +02:00
Googulator
5ae504cb67
Merge pull request #453 from Googulator/openssl-upgrade
Upgrade OpenSSL to 3.0.13
2024-04-14 06:46:37 +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
Googulator
29a029947c
Merge pull request #454 from Googulator/source-mirrors
Support multiple mirrors for each source file
2024-04-14 04:12:07 +02:00
Gábor Stefanik
89a4d18ff0 Support multiple mirrors for each source file
If multiple URLs are entered in a sources listing for the same file,
each will be tried in turn, until either one succeeds, or we fail
having run out of mirrors.
2024-04-14 00:17:41 +02:00
Gábor Stefanik
6017ae7a9f Add extra source URL for OpenSSL 3.0.13, to account for it being moved in the future
This will only be useful after #454 is merged.
2024-04-14 00:13:20 +02:00
Gábor Stefanik
637fa823f0 Upgrade OpenSSL to 3.0.13
Fixes #451
2024-04-13 23:43:41 +02:00
Googulator
86e1a5e7f6
Merge pull request #449 from pyy/master
update submodule stage0-posix to latest: updated unxz sources for amd64 aarch64 etc
2024-03-07 17:50:23 +01:00
pyy
5e11d2a592 update submodule stage0-posix to latest: updated unxz sources for amd64 aarch64 etc. 2024-03-07 17:09:31 +01:00
Andrius Štikonas
4737ab7481
Merge pull request #446 from Googulator/qemu-interactive
Use qemu's GUI support in interactive mode
2024-02-28 21:33:50 +00:00
Gábor Stefanik
c1c6b278e6 Use qemu's GUI support in interactive mode
Previously, there was no way to access the additional consoles in
qemu mode, due to qemu running in -nographic mode with a serial
console. This is perfectly fine in non-interactive mode, but we can
make interactive mode more usable by using a graphical console like
on bare metal.

Also drop -no-reboot from interactive mode, since rebooting (e.g.
to load a newly compiled kernel) makes sense in this case.
2024-02-25 02:39:43 +01:00
fosslinux
2261098f98
Merge pull request #445 from fosslinux/check-substitutes
Check "substitutes"
2024-02-24 09:37:32 +00:00
fosslinux
b80e1f6a57 Ensure that substituted files are equivalent to upstream 2024-02-24 20:36:12 +11:00
fosslinux
d6e49c181c
Merge pull request #444 from Googulator/kconfig-update
Update Linux kernel configuration & patches
2024-02-20 10:37:14 +00:00
fosslinux
021574d2a9 Change diffutils-2.7 back to upstream gz tarball
The bz2 tarball we were using is a complete repack of the tarball,
including date & permission modifications. It adds an extra file
RPI-Configure too. This is not optimal as it impedes verification
ability.
2024-02-20 09:53:22 +11:00
Gábor Stefanik
60ec9ea80c Update Linux kernel configuration & patches
This updates the Linux kernel configuration, removing irrelevant
networking-related components, and switching framebuffer drivers to
the DRM-based ones. With this, we can finally bootstrap on systems
with newer NVIDIA cards, which would green screen with the nvidiafb
driver.

KVM is still disabled, see #443 - VIRTUALIZATION is also disabled,
as it's useless without KVM or any other suboption being enabled.

Additionally, we can now drop the bad-asm patch, since our newer
binutils has no problem supporting that syntax, and it doesn't look
quite innocuous to me, removing an offset from a memory access.

The kernel is now built in 2 stages: first, we build vmlinux only,
then, after cleaning up any intermediate .o files (except the ones
needed to build efistub), we convert it to a bzImage. This required
some creative use of the -o option to convince Make not to rebuild
all of the .o files we've just deleted as dependencies.
2024-02-18 17:54:25 +01:00