Eduardo Sánchez Muñoz
929eb69d03
Add checksums for kexec-fiwix and lwext4
2023-04-16 12:13:20 +02:00
Eduardo Sánchez Muñoz
dd8ce0e516
Add option to build kernels and related tools during chroot and bwrap builds
...
The main motivations to have this are:
* Detect checksum changes with chroot/bwrap builds
* Avoid removing checksums from `SHA256SUMS.pkgs` when unsing `--update-checksums`
* Find crashes that would otherwise be missed in `builder-hex0`
2023-04-16 12:13:20 +02:00
Eduardo Sánchez Muñoz
d3477570b8
Explicitly specify i686-pc-linux-gnu build/host/target for kexec-tools
...
Fixes building in chroot/bwrap. Checksum is not affected.
2023-04-15 13:20:59 +02:00
Eduardo Sánchez Muñoz
86c0be5b67
Fix tcc crash when building lwext4 in chroot/bwrap
...
Fixes https://github.com/fosslinux/live-bootstrap/issues/281 .
This is adding a null pointer check to `fill_local_got_entries` in tcc 0.9.27. This is rather a workaround because I am not sure if it is legit for that pointer to be null.
2023-04-15 13:19:29 +02:00
fosslinux
b0a2747ada
Merge pull request #279 from eduardosm/external-sources-without-net
...
Pass `--unshare-net` to bwrap when building with `--external-sources`
2023-04-14 02:05:48 +00:00
fosslinux
445628d722
Merge pull request #275 from fosslinux/parallelism
...
Parallelism
2023-04-14 01:33:17 +00:00
Eduardo Sánchez Muñoz
c143e65154
Pass `--unshare-net` to bwrap when building with `--external-sources`
...
Ensures that when `--external-sources` is used, the build does not require a working internet connection.
`--unshare-net` is always passed for the sysa phase.
2023-04-13 18:52:37 +02:00
fosslinux
49045dec0f
Use 2 cores in CI
2023-04-13 17:13:53 +10:00
fosslinux
d98f97e214
Introduce parallelism
...
By using --cores argument to rootfs.py, JOBS= is set in the
live-bootstrap environment, and -j${JOBS} is used on builds. This speeds
larger packages up significantly.
A fair number of packages do not build properly with parallelism. Most
of these, at least for now, are disabled with -j1.
2023-04-13 17:13:53 +10: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
343843dfdd
Fix whitespace.
2023-04-12 23:25:08 +01: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
Andrius Štikonas
2f9bff403a
Merge pull request #278 from rick-masters/regen-help2man-manpages
...
Always regenerate help2man man pages.
2023-04-12 21:37:06 +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
fosslinux
2e289933d5
Merge pull request #272 from rick-masters/kernel-bootstrap-v2
...
Implement kernel bootstrap up to building Linux.
2023-04-11 10:34:58 +00:00
fosslinux
58b8c1768c
Clarify custom kernel logic
2023-04-11 16:36:25 +10:00
fosslinux
a22c55440c
Reflect recent changes in parts.rst
2023-04-11 16:35:27 +10:00
fosslinux
c878141a5a
Reflect simple-patches in DEVEL.md directory structure
2023-04-11 16:28:52 +10:00
rick-masters
fb4930c2f9
Remove ifdef BOOTSTRAP from musl patches.
2023-04-07 12:57:24 +00:00
rick-masters
c1ceabb9c4
Use links for copies of patches.
2023-04-05 11:59:39 +00:00
rick-masters
9c016405ef
Place open braces for functions consistently.
2023-04-05 11:57:41 +00:00
rick-masters
9f77f98842
Add BSD-3-Clause license.
2023-04-03 18:28:44 +00:00
rick-masters
986459c707
Remove unused variable.
2023-04-03 18:28:17 +00:00
rick-masters
6468ff7ff1
Use replace instead of simple-patch to set base address for mes.
2023-04-03 18:16:44 +00:00
rick-masters
cb046ff1c0
Use alias to build make_fiwix_initrd and run from bindir.
2023-04-03 18:14:38 +00:00
rick-masters
9846c4bb82
Build kexec-fiwix in bindir and run it from run.kaem.
2023-04-03 18:13:42 +00:00
rick-masters
96fd7ad3e1
Use os.walk instead of homegrown find_tree.
2023-04-03 18:12:01 +00:00
rick-masters
c19ca08f15
Use alias to build Fiwix and make checksums work.
2023-04-03 18:10:23 +00:00
rick-masters
3c817913c7
Fix criteria for kernel bootstrapping.
2023-04-03 18:07:24 +00:00
rick-masters
ecf99ab08b
Implement kernel bootstrap up to building Linux.
2023-03-31 18:08:50 +00:00
Andrius Štikonas
5ea8dd3136
Merge pull request #271 from eduardosm/update-curl
...
Update curl to 7.88.1
2023-03-24 00:29:52 +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
Andrius Štikonas
558630c559
Merge pull request #270 from eduardosm/http-failures
2023-03-19 11:37:52 +00:00
Eduardo Sánchez Muñoz
043fdd448a
Add `--fail` flag to curl download commands
...
By default, curls downloads the HTML error page and exits with code 0 when a server replies with a HTTP error code (e.g., 404), causing a SHA256 mismatch afterwards.
Adding the `--fail` flag makes curl exit with non-zero error code and print an error like "The requested URL returned error: 404", making it a bit easier to diagnose distfile download issues.
Also replaced `-L` with `--location` for the sake of script readability.
2023-03-19 12:28:09 +01:00
Andrius Štikonas
514190c4c2
Merge pull request #269 from eduardosm/timeless-mk-ca-bundle
...
Patch mk-ca-bundle to make ca-certificates reproducible regardless of current date
2023-03-19 00:18:29 +00: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
Andrius Štikonas
c0ea746ae5
Fix curl download url.
2023-03-18 19:19:46 +00:00
Andrius Štikonas
c5905d5f05
Merge pull request #267 from fosslinux/gh-actions
...
Github actions
2023-03-18 19:04:44 +00:00
fosslinux
60dc725221
Only run on master branch
2023-03-16 19:09:13 +11:00
fosslinux
9956635760
Run bwrap live-bootstrap on GH actions
2023-03-16 14:59:57 +11:00
fosslinux
bca80e53d0
Temporarily silence a (not-new) warning from pylint
2023-03-16 08:29:00 +11:00
fosslinux
81000c8075
Add GH actions for linters
2023-03-16 08:29:00 +11:00
fosslinux
2209b73470
Strip out Cirrus CI
2023-03-16 08:29:00 +11:00
fosslinux
d0722d42b1
Update python checksums
...
(I forgot to stage this in the last commit :\)
2023-03-16 08:27:58 +11:00
fosslinux
f44d4acbfb
Fix permissions of python 3.1->3.4
...
For some reason these also install non-writable files breaking
bubblewrap mode.
2023-03-15 22:28:55 +11:00
fosslinux
b304a8c6f8
Fix permissions on perl files
...
Also fixes stripping perl 5.32 in bubblewrap.
Fixes #263
2023-03-15 16:48:02 +11:00
Andrius Štikonas
3696fec3e3
Merge pull request #266 from pder/fix-gettext-checksum
...
Fix checksum of gettext package
2023-03-14 22:12:59 +00:00