Commit graph

1323 commits

Author SHA1 Message Date
Samuel Tyler
1ada7a101e
Merge pull request #497 from stikonas/fstrings
Improve support for pre-python 3.12 f-strings.
2025-02-05 10:57:29 +11:00
Andrius Štikonas
f3553639f9 Improve support for pre-python 3.12 f-strings. 2025-02-04 23:55:16 +00:00
Samuel Tyler
3eec99349d
Merge pull request #491 from fosslinux/autoconf-symlink
Add autoconf symlinks to every autoconf pkg
2025-02-05 08:36:12 +11:00
fosslinux
473f75ffd9 Add autoconf symlinks to every autoconf pkg
Early versions of automake have `autoconf` hardcoded into them as a
program that should exist. We *were* "fixing" this by creating a symlink
in autoconf-2.54. However this symlink is _not_ in the repo package,
which broke some things. Also meant that from autoconf 2.54 through
autoconf 2.71, automake was using autoconf 2.53.

Let's make it consistent by having autoconf symlinks in every autoconf
package.
2025-02-04 22:13:56 +11:00
Samuel Tyler
d652494ef4
Merge pull request #490 from fosslinux/musl-fixup
Musl fixes
2025-02-04 22:12:46 +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
fosslinux
c5175b46c5 Fix clean_sources.sh with git protocol 2025-02-03 17:24:07 +11:00
fosslinux
62f147f242 Add error message when distfile doesn't exist 2025-02-03 17:23:53 +11:00
Samuel Tyler
736d7967fd
Merge pull request #495 from fosslinux/set-pipefail
Set pipefail when supported
2025-02-03 15:30:43 +11:00
Samuel Tyler
b934782b5f
Merge pull request #493 from fosslinux/mirrors
Mirrors
2025-02-03 10:13:46 +11:00
fosslinux
ef5477c74a Up retries to 3, sleep between retries 2025-02-03 10:11:44 +11:00
fosslinux
1d2836e804 Don't checksum symlinks when uninstalling
symlinks are removed separately later. It doesn't really make sense to
checksum them - the file they are pointing to could have been deleted.
2025-02-03 08:54:40 +11:00
fosslinux
b42acc6624 Set pipefail when supported 2025-02-03 08:54:40 +11:00
fosslinux
f3f140783d Remove unneeded double quotes
from download-distfiles.sh and mirror.sh
2025-02-02 12:42:36 +11:00
fosslinux
19c83b80da Add a bit more docs for creating a mirror 2025-02-02 10:02:32 +11:00
fosslinux
9d7835e234 Run pylint on all lib/ python files 2025-02-02 10:02:32 +11:00
fosslinux
52c16137f5 Remove unused import in source_manifest.py 2025-02-02 10:02:32 +11:00
fosslinux
ba89224641 Modify GH actions to support mirror 2025-02-02 10:02:32 +11:00
fosslinux
7d50a224c6 Support file:// mirrors
Spawns a simple HTTP server to host the mirror.
Useful for testing mirror support or CI in chroot or bwrap modes.
2025-02-02 10:02:32 +11:00
fosslinux
ce1522db64 Change metaconfig to Git snapshot 2025-02-02 10:02:32 +11:00
fosslinux
7fb88d883f Change dist 3.5 to Git snapshot 2025-02-02 10:02:32 +11:00
fosslinux
64b9920871 Move flex to git snapshots 2025-02-02 10:02:32 +11:00
fosslinux
df1c9e9aba Support mirrors within 2025-02-02 10:02:32 +11:00
fosslinux
88ea21dfc9 Add mirror support to download-distfiles.sh 2025-01-30 22:20:06 +11:00
fosslinux
f772cbe131 Create a basic mirroring tool for the new mirror system 2025-01-30 22:20:06 +11:00
fosslinux
7e8db9c508 Remove "substitutes"
It wasn't ever really useful.
2025-01-30 22:20:06 +11:00
Andrius Štikonas
3896c1dfc9 Update stage0-posix. 2025-01-26 14:22:23 +00:00
Andrius Štikonas
0fa2f1e5ed
Merge pull request #494 from fosslinux/cd-helpers-sh
Handle files correctly that start with a dash
2025-01-19 01:34:20 +00:00
fosslinux
57f15d3515 Handle files correctly that start with a dash
Currently these were interpreted as options
2025-01-12 13:41:11 +11:00
Samuel Tyler
15cb1064ee
Merge pull request #492 from reshi-reshlet/patch-gh-actions
Fix "Run under bubblewrap" after forking
2025-01-12 09:17:59 +11:00
Googulator
6d0157f87a
Merge pull request #489 from fosslinux/patchlevel
Make patches relative to where tarballs are extracted
2025-01-09 20:53:35 +01:00
Matthew Draper
8b5e87fffc switch from ubuntu-latest to ubuntu-24.04
avoid the complicated version detection
2025-01-06 10:08:01 -08:00
Matthew Draper
4e07982e82 Update lint.yml
shellcheck new script in linter workflow
2025-01-01 14:48:45 -08:00
Matthew Draper
9dfd936970 Update ubuntu_bwrap_fix.sh
add shebang
2025-01-01 14:47:39 -08:00
Matthew Draper
f68722ecfe fix email addr 2025-01-01 11:51:30 -08:00
Matthew Draper
6e3754ce6a fix typos in ubuntu_bwrap_fix.sh 2025-01-01 11:47:25 -08:00
Matthew Draper
2adb6cb149 Get CI build working again after forking
deal with github mysteriously running actions with "ubuntu-latest" not resolving to 24.04. check for current ubuntu version and only do bwrap fix it >= 24.04

also, patch flakey flex mirrors, which were not working
2025-01-01 11:34:33 -08:00
fosslinux
a67db8fcbd Make patches relative to where tarballs are extracted
Ever since an old patch version, it has (for reasonable security
reasons) not supported patched with ../ in the filename.
Many of our patches have been relying on this behaviour being OK,
because we start off with an ancient patch version that didn't perform
such checks. As soon as we need this behaviour after we build a newer
patch though, we will have problems.

So, let's change the policy.
Patches are relative to where tarballs are extracted, rather than the
"working directory" - e.g. have patches for `coreutils-9.4/src/cp.c`
instead of `src/cp.c`.
Keeping this consistent has a few implications;
- patches are applied from the build/ directory in bash era now, with
  `-p0`
- when patches are manually applied in the bash era, use `-p` as
  required, usually `-p1`
- in kaem era where patches are always manually applied, `-p1` is used
2024-12-23 15:20:42 +11:00
Andrius Štikonas
4eceb77e40
Merge pull request #486 from fosslinux/grub-fixup
Regenerate more stuff for grub 2.06
2024-12-21 13:42:17 +00:00
Googulator
5e1c0be063
Merge pull request #488 from fosslinux/master
Merge CI fixes into grub-fixup
2024-12-21 05:06:19 +01:00
Samuel Tyler
367115095d
Merge pull request #487 from fosslinux/ci-fixes
CI fixes
2024-12-21 12:14:07 +11:00
fosslinux
9237fa6fbc Work around Ubuntu 24.04 bubblewrap bug 2024-12-21 11:58:45 +11:00
fosslinux
302bd4c3db Update versions of CI actions
(Stop GH actions complaining)
2024-12-21 11:42:10 +11:00
fosslinux
aad75ec2a2 Remove more pregenerated files for grub 2.06
- Documentation
- Test file blobs
2024-12-21 10:57:35 +11:00
Andrius Štikonas
749b2bfe37
Merge pull request #482 from stikonas/openssl
Switch to different OpenSSL mirrors.
2024-10-26 11:57:56 +01:00
Andrius Štikonas
e99f21db55 Switch to different OpenSSL mirrors. 2024-10-26 00:51:34 +01:00
Andrius Štikonas
48f728622e
Merge pull request #481 from stikonas/cmp
cmp should use 0 immediate not 0 address.
2024-10-26 00:42:45 +01:00
Andrius Štikonas
9950b07204 Silence pylint errors. 2024-10-25 18:15:58 +01:00
Andrius Štikonas
b120a39ec6 cmp should use 0 immediate not 0 address. 2024-10-24 22:24:13 +01:00