Commit graph

129 commits

Author SHA1 Message Date
Andrius Štikonas
abb46a27b3 Update to mes-0.25. 2023-11-14 00:37:11 +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
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
Dor Askayo
2227a2053a Mount a few missing device nodes in chroot bootstrap modes
The gap between the chroot and non-chroot bootstrap modes started in,
7ecad37 because BuildStream's sandbox was missing some device nodes.

With the latest version of buildbox-run-bubblewrap, a few of the
missing devices were made available to BuildStream's sandbox and
there is no longer a need to keep this gap. In fact, compatibilty
with newer BuildStream versions now requires these devices to be
present.

This change also partially reverts d0a5221, which had to remove
/dev/ptmx as a consequence of the aforementioned gap.
2023-07-16 01:41:01 +03:00
Andrius Štikonas
914b84377a Update to musl 1.2.4. 2023-06-12 19:31:30 +01:00
rick-masters
ef08891401 Convert file size to 32-bit type before writing. 2023-05-21 00:11:37 +00:00
rick-masters
0d4394aa0d Build kexec-linux later as a package for musl lib calls instead of asm. 2023-05-20 15:16:27 +00:00
rick-masters
a2fcf1ced9 Complete the kernel bootstrap by adding kexec of Linux from Fiwix.
A tiny bootloader bootstrap has been added to compile the builder-hex0 kernel from hex0 source.
The boot compiler is builder-hex0-x86-stage1.hex0 and builder-hex0-x86-stage1.bin.
The builder-hex0 kernel is now named builder-hex0-x86-stage2.hex0.
The inclusion of a binary seed resolves the problem with the previous strategy which used an
architecture-specific hex0 compiler.

If sysb detects a full disk (i.e. DISK=sda) it now partitions the disk unconditionally because
previously fdisk was reporting existing but empty partitions which resulted in no
parititions being created.

e2fsprogs is now built with --disable-tls because musl was built on Fiwix without full threading
support and mkfs.ext4 was crashing without disabling thread local storage.

kexec-linux writes the linux kernel and initramfs to a RAM drive on Fiwix which ensure
a pre-allocated contiguous memory block. The following is written to the ram drive:
a 32-bit number which is the size of the kernel in bytes, a 32-bit number which is the size
of the initramfs in bytes, followed by the Linux kernel image, followed by the initramfs.

kexec-fiwix invokes a sync syscall to ensure all writes are flushed to
the ram drive and then initiates the kexec by shutting down Fiwix with a reboot syscall.
Fiwix knows whether and how to perform the kexec based on kernel parameters passed to it.
2023-05-10 14:33:42 +00:00
fosslinux
aa2d6c4137 Update to GCC 13
The latest version of GCC.

Luckily this allows for a bunch of patches to be dropped - apart from
that, no significant change.
2023-05-09 22:41:45 +10:00
fosslinux
6835ebfaf8 Disable binutils' manpages
I have no idea where this unreproducibility is coming from and I'm not
really bothered to spend more time on it right now :)
2023-04-29 23:41:15 +10:00
fosslinux
c063a86bb4 Fix binutils manpage deletion
binutils manpages were, incorrectly, not deleted - this causes issues
with reproducibility in pass2
2023-04-28 21:50:54 +10:00
fosslinux
99bad05173 Update dhcpcd to 10.0.1
There was a bit of churn with the tarballs - hopefully this doesn't
happen again.
2023-04-27 17:36:18 +10:00
fosslinux
6fb676c8c2 Add GCC 12
The latest version of GCC.
And with this, the glibc-musl-gcc toolchain is complete.

A variety of modern features (default PIE SSP) are enabled.
2023-04-27 17:25:51 +10:00
fosslinux
ac4685e886 Rebuild Binutils 2.38 using all modern features
- Rather than using part-by-part build of Binutils, use autogen and full
  ./configure, make build.
- Enable some other modern features, including the gold linker, threaded
  linking and 64-bit linking.
- This allows GCC 12 to build unhindered by binutils.
2023-04-27 17:25:51 +10:00
fosslinux
8ae911162a Move libssp into musl out of GCC
The motivations for this are complicated, but on musl systems, musl
will use its own libssp implementation, so GCC's libssp is not required.

Not to mention that GCC's libssp implementation is questionable at best.

This is the approach taken by the two major musl distributions - Alpine
Linux and Void Linux.
2023-04-25 14:04:42 +10:00
Eduardo Sánchez Muñoz
d11ee97452 Regenerate SHA256SUMS.pkgs so it matches the file produced with --update-checksums
No checksum is actually changed, they are simply sorted.
2023-04-16 12:13:20 +02:00
fosslinux
f2a0d74bfb Update to Guile 3.0.9
This is achieved by transplanting 3.0.7's psyntax-pp.scm into 3.0.9
which works flawlessly.

This is required for parallelism, since <3.0.8 is irreproducible when
-jN is used.
2023-04-13 17:13:51 +10:00
Andrius Štikonas
b6fe5bc499
Merge pull request #276 from eduardosm/update-dhcpcd
Update dhcpcd to version 9.5.0
2023-04-12 23:24:39 +01:00
rick-masters
6b2d04d00e Always regenerate help2man man pages. 2023-04-12 11:27:55 +00:00
Eduardo Sánchez Muñoz
787cc9c45a Update dhcpcd to version 9.5.0
Also fixes broken download link
2023-04-11 23:37:59 +02:00
rick-masters
ecf99ab08b Implement kernel bootstrap up to building Linux. 2023-03-31 18:08:50 +00:00
Eduardo Sánchez Muñoz
dcd43599a7 Build both stages of curl in sysc
The source tarball is provided as part of sysa distfiles and copied to sysc, which resolves the issue of finding a reliable plain HTTP mirror for curl.

Splitted from https://github.com/fosslinux/live-bootstrap/pull/253.
2023-03-23 18:35:38 +01:00
Eduardo Sánchez Muñoz
bc4ecd9ed4 Update curl to 7.88.1
Patches have been regenerated to update hunk line numbers
2023-03-19 18:58:52 +01:00
Eduardo Sánchez Muñoz
3897987887 Update nss (ca-certificates) to 3.88.1 2023-03-18 20:32:56 +01:00
Eduardo Sánchez Muñoz
9999e075e9 Patch mk-ca-bundle to make ca-certificates reproducible regardless of current date
Fixes #220
2023-03-18 20:32:50 +01:00
fosslinux
d0722d42b1 Update python checksums
(I forgot to stage this in the last commit :\)
2023-03-16 08:27:58 +11:00
Paul Dersey
61a8df957d Fix checksum of gettext package
The checksum of this package changed due to commit 76a5639b30
"Strip created binaries & libraries"
2023-03-14 11:15:58 -04:00
fosslinux
16cd5be626 Move bash 5.2 to sysc and rebuild 2.05b in sysa
This unblocks Fiwix.
2023-03-11 16:33:40 +11:00
fosslinux
76a5639b30 Strip created binaries & libraries 2023-03-06 17:35:35 +11:00
Andrius Štikonas
a2b1b92874 Fix binary packaging of dist-3.5-236. 2023-03-05 22:05:29 +00:00
Andrius Štikonas
f75a5f0949 Update checksum of ca-certificates after root certificate expired. 2023-03-04 23:41:52 +00:00
Andrius Štikonas
db9dd4628a Add binutils 2.30. 2023-03-02 22:08:43 +00:00
Andrius Štikonas
8fbc5b06c7 Build util-linux without cramfs that fails to build with new binutils.
Enable libuuid that might be useful for python later.

Also fixes #244.
2023-03-02 22:08:43 +00:00
Andrius Štikonas
57b55b8652 Use newer autotools. 2023-03-02 22:08:43 +00:00
Andrius Štikonas
1a2a4c1c6c Update to xz-5.4.1. 2023-03-02 22:08:43 +00:00
Andrius Štikonas
da9a2c6c50 Move bash rebuild to sysa. 2023-03-02 22:08:43 +00:00
Andrius Štikonas
58d1206c83 Add bc-1.07.1. 2023-03-02 22:08:43 +00:00
Andrius Štikonas
b8446054f2 Add ed 1.4. 2023-03-02 22:08:43 +00:00
Andrius Štikonas
ae7e1f9498 Fix checksum of binutils. 2023-02-28 10:28:29 +08:00
Andrius Štikonas
e242f5539d Remove more pre-generated files from binutils 2.38. 2023-02-26 12:03:38 +08:00
Andrius Štikonas
2c559bb49d Remove some autotools stages. 2023-02-25 12:22:44 +08:00
Andrius Štikonas
3b90aae529 Upgrade to binutils 2.24:
* Move libtool 2.2.4 before binutils.
* Remove libtool 1.4.
* Switch from binutils 2.14 to 2.24.
2023-02-25 12:22:44 +08:00
Andrius Štikonas
da11c40e37 Move automake-1.11.2 to sysa. 2023-02-22 10:27:56 +08:00
Andrius Štikonas
cd396db5d5 Bootstrap newer autotools versions before binutils. 2023-02-22 10:27:56 +08:00
Andrius Štikonas
d4eeba9d7a Improvements to early package creation:
* get_files produces list without extra ./ between extra subdirectories.
* Emtry directories are also included.
* Simplified src_pkg function.
* Use local variables instead of unsetting global variables in src_apply.
2023-02-22 10:27:56 +08:00
Paul Dersey
c67306cfde Update mes to version 0.24.2
A rebuild of mes libc is required after building tcc 0.9.27 for the
first time.
2023-02-21 15:24:14 -05:00
fosslinux
c170152d14 Apply CRC regen to GCC 4.7
CRC generated table is regenerated using the same method as GCC 10.

Closes #243
2023-02-13 22:15:58 +11:00
fosslinux
946dd8ee33 Fix GCC 10
stripping breaks it
2023-02-13 19:49:11 +11:00
fosslinux
495b985173 Update checksums for misc packages
The various toolchain changes recently required a few checksum updates.
2023-02-12 09:21:24 +11:00
fosslinux
dd8bf0921f Add GCC 10.4.0
Last version of GCC that can be compiled with GCC 4.7.
2023-02-12 09:21:24 +11:00