Commit Graph

45 Commits

Author SHA1 Message Date
Tianon Gravi 7d95034c39 Update buildroot to 2025.05.1 2025-08-12 10:10:01 -07:00
Tianon Gravi e0ffe6a223 Update to Debian Trixie
This allows us to finally drop all "unstable" hacks (as `riscv64` is an officially supported architecture in Trixie+).
2025-08-08 12:01:28 -07:00
Tianon Gravi a53bcc5589 Update buildroot to 2025.05
https://lore.kernel.org/buildroot/87sek87ina.fsf@dell.be.48ers.dk/T/#u
2025-07-03 11:28:35 -07:00
Tianon Gravi 01ee986244 Update to Alpine 3.22 2025-05-30 11:17:00 -07:00
Tianon Gravi f843c6a54c Update buildroot to 2025.02.1
https://lists.buildroot.org/pipermail/buildroot/2025-April/777253.html
2025-04-25 09:32:47 -07:00
Tianon Gravi ffdd85ee5b Fix i386 again, but correctly
I moved too fast and forgot to re-test amd64, which was ironically broken by my i386 fix, so now we do the full "distro arch to 'busybox arch'" conversion for the set of arches we support (which isn't *that* big).
2025-02-19 15:56:18 -08:00
Tianon Gravi 90794c2551 Fix reproducibility of non-uclibc i386 builds
Without this fix, if we try to build i386 on an amd64 machine without the linux32 "personality" applied, it uses `uname -m` and gets a slightly different result due to the lack of https://git.busybox.net/busybox/tree/arch/i386/Makefile?h=1_37_stable#n7 (adding `-march` and `-mtune` values to builds).

If we set `ARCH` appropriately during build, that file gets sourced and our builds include the appropriate values.

This does *not* affect uclibc builds because they set `CROSS_COMPILE`, which overrides the value of `(SUB)ARCH` (although it would be valid to set both in all cases, to be explicit, I just don't think that's necessary).
2025-02-19 13:13:37 -08:00
Tianon Gravi e1aaa6e7d5 Update to Buildroot 2024.11, Alpine 3.21 2024-12-09 11:52:30 -08:00
Tianon Gravi 273ed1cfb5 Use GitLab for all buildroot references
See https://git.busybox.net/buildroot/commit/?id=366d403bedd83d1e884b6c7c60a8a4ff497a458a (or rather, 366d403bed)
2024-11-25 13:47:13 -08:00
yosifkit 80253dafd7
Merge pull request #207 from infosiftr/patches
Add explicit "patches" directory
2024-09-30 17:03:59 -07:00
Tianon Gravi dc42a7a3c7 Remove some 1.35.x leftovers
Oops, this should've been part of 349fb1ced2 🙈
2024-09-30 16:05:44 -07:00
Tianon Gravi 6db9646b7a Add explicit "patches" directory
This adds a directory for us to store patches we need to apply during build -- I've copied the "no CBQ" patch we've already been applying, and a new "sha1_process_block64_shaNI.patch" which applies a patch for our new non-x86 build failures.

I've also added a README to the new patches directory to make it clear what types of patches are appropriate/acceptable (perhaps more accurately, why almost all patches are *not* acceptable).

This changes the build context for our rootfs builds to be the root of the repository so we don't have to muddy our template applying code with which patches to copy and can instead maintain that in the template itself (and skip the entire "patch applying" block of code when there are no patches to apply).
2024-09-30 15:58:06 -07:00
Tianon Gravi 973b86209c Update buildroot to 2024.05.2
This also applies the "remove CBQ" patch across all variants consistently -- it's not technically needed on Alpine yet, but it will be, so it's simpler if we're just consistent.
2024-08-29 15:29:30 -07:00
Tianon Gravi a56ed60e23 Add missing `set -e` to our `nslookup` smoke test 😭
Apparently missing for ~5 years 🤦
2024-06-10 15:23:02 -07:00
Tianon Gravi 686bc28305 Apply patch to remove CBQ functionality
This allows us to build successfully on Debian Unstable again.
2024-05-29 15:55:41 -07:00
Tianon Gravi d43ba9b8f1 Update to Alpine 3.20
Now that we have stable `riscv64` in Alpine, we can also drop Alpine from all our "build from unstable" hacks 🚀
2024-05-22 14:53:19 -07:00
Tianon Gravi f4bd993234 Add `apk upgrade libssl3 libcrypto3` as temporary Alpine Edge woes balm
```console
$ docker run -it --rm --pull=always alpine:edge
edge: Pulling from library/alpine
Digest: sha256:67b8a3c4c19bbdd43de723881bc536758f5e780f8d32ef8f5ef2b72f769a3e78
Status: Image is up to date for alpine:edge
/ # apk add --no-cache --quiet curl
/ # curl --version
Error relocating /usr/lib/libcurl.so.4: SSL_get0_group_name: symbol not found
```
2024-03-27 14:49:53 -07:00
Tianon Gravi 7e39d619fe Initial `Builder: oci-import` support 2024-02-27 16:44:18 -08:00
Tianon Gravi 644ee1af6b Adjust tarball creation to be reproducible 2024-02-21 11:48:26 -08:00
Tianon Gravi 555779833b Update musl variant to build on Alpine 3.19 2023-12-18 16:22:29 -08:00
Tianon Gravi 41d9ed1306 Update to Debian Bookworm 2023-06-23 16:21:55 -07:00
Tianon Gravi ce868b8092 Update to 1.36.1 2023-05-18 16:43:49 -07:00
Tianon Gravi bb5b447be2 Add gnupg "keyboxd" workaround 2023-05-10 16:47:15 -07:00
J0WI 6d846b660c Alpine 3.18 2023-05-10 11:55:51 +02:00
Tianon Gravi 4df1e6a573 Remove explicit `dirmngr` reference
This is pulled in automatically via `gnupg`, and moved from `Recommends` to `Depends` in 99474ad900, which has been part of `src:gnupg2` since 2.1.21-4 (and every supported version of both Debian _and_ Ubuntu have 2.2.x 😇).
2023-04-28 15:05:24 -07:00
Ben Burke 3e64b132d4
disable hwaccel closing issue with sha1sum and sha256sum (#167) 2023-03-03 15:13:17 -08:00
Tianon Gravi c7a767edfa Switch from explicit "stable" / "unstable" to "latest" and "latest-1" based on major.minor releases
This refactor will more closely match how BusyBox does releases -- they always call x.y.0 "unstable" but if it doesn't require any further fixes it never gets a .1 "stable" release (like 1.35 suffered from).  Additionally, they don't seem to really ever have more than two simultaneous release branches (but if they did, we could trivially add a new `latest-2` and be covered):

```console
$ wget -qO- 'https://busybox.net' | grep -ioE '[0-9a-zA-Z ]+ -- BusyBox [0-9.]+ [(](un)?stable[)]' | sed -re 's/(.*) -- (.*)/\2\t\1/' | column -ts$'\t' -R2
BusyBox 1.36.0 (unstable)     3 January 2023
BusyBox 1.35.0 (unstable)   26 December 2021
BusyBox 1.33.2 (stable)     30 November 2021
BusyBox 1.34.1 (stable)    30 September 2021
BusyBox 1.34.0 (unstable)     19 August 2021
BusyBox 1.33.1 (stable)           3 May 2021
BusyBox 1.32.1 (stable)       1 January 2021
BusyBox 1.33.0 (unstable)   29 December 2020
BusyBox 1.32.0 (unstable)       26 June 2020
BusyBox 1.31.1 (stable)      25 October 2019
BusyBox 1.31.0 (unstable)       10 June 2019
BusyBox 1.30.1 (stable)     14 February 2019
BusyBox 1.30.0 (unstable)   31 December 2018
BusyBox 1.29.3 (stable)     9 September 2018
BusyBox 1.29.2 (stable)         31 July 2018
BusyBox 1.29.1 (stable)         15 July 2018
BusyBox 1.29.0 (unstable)        1 July 2018
BusyBox 1.28.4 (stable)          22 May 2018
BusyBox 1.28.3 (stable)         3 April 2018
BusyBox 1.28.2 (stable)        26 March 2018
BusyBox 1.28.1 (stable)     15 February 2018
BusyBox 1.28.0 (unstable)     2 January 2018
BusyBox 1.27.2 (stable)       17 August 2017
BusyBox 1.27.1 (stable)         18 July 2017
BusyBox 1.27.0 (unstable)        3 July 2017
BusyBox 1.26.2 (stable)      10 January 2017
BusyBox 1.26.1 (stable)       2 January 2017
BusyBox 1.26.0 (unstable)   20 December 2016
BusyBox 1.25.1 (stable)       7 October 2016
BusyBox 1.25.0 (unstable)       22 June 2016
BusyBox 1.24.2 (stable)        24 March 2016
BusyBox 1.24.1 (stable)      24 October 2015
BusyBox 1.24.0 (unstable)    12 October 2015
BusyBox 1.23.2 (stable)        23 March 2015
BusyBox 1.23.1 (stable)      27 January 2015
BusyBox 1.23.0 (unstable)   23 December 2014
BusyBox 1.22.1 (stable)      20 January 2014
BusyBox 1.22.0 (unstable)     1 January 2014
BusyBox 1.21.1 (stable)         29 June 2013
BusyBox 1.21.0 (unstable)    21 January 2013
BusyBox 1.20.2 (stable)          2 July 2012
```
2023-01-04 13:09:39 -08:00
Tianon Gravi c6062f26bc Ensure we have "/usr/bin/env" 2022-12-16 09:35:52 -08:00
Tianon Gravi b98be8fda8 Update buildroot to 2022.11 2022-12-05 10:15:12 -08:00
J0WI 49caa83e6a Alpine 3.17 2022-12-01 21:07:00 +01:00
Tianon Gravi b9b923b0f5 Set arm64 pagesize to 64k explicitly 2022-10-24 14:50:13 -07:00
Tianon Gravi f5c87dfd22 Update buildroot to 2022.05 2022-06-06 13:55:11 -07:00
J0WI 3161ec8c85 Alpine 3.16 2022-05-24 19:32:25 +02:00
Tianon Gravi d4c3366f53 Update to 1.35.0 2021-12-29 11:53:54 -08:00
Tianon Gravi 985d62d174 Switch from "python" to "python3" and add "file" explicitly (for Debian Unstable / Debian Ports builds) 2021-12-06 14:31:21 -08:00
Tianon Gravi e237f1dfc7 Update Buildroot to 2021.11 2021-12-06 10:49:48 -08:00
J0WI a13dd8301e
Update to 1.34.1, buildroot 2021.08.2, Alpine 3.15 (#122) 2021-11-29 10:13:47 -08:00
J0WI a1441e46fe Debian Bullseye 2021-09-11 18:28:13 +02:00
Tianon Gravi a52ec136d9 Download musl getconf.c from GitHub mirror instead
The old URL is now returning a 502.
2021-09-07 13:50:29 -07:00
Tianon Gravi 82c3cf06ea Add patch for MIPS compilation failure
See https://bugs.busybox.net/show_bug.cgi?id=14156 and https://git.busybox.net/busybox/commit/?id=29b53ef03fc7ddd3ba27898d77a900a2f184aa0d
2021-08-20 08:25:16 -07:00
Tianon Gravi eb13f8bcf8 Add riscv64 2021-07-08 08:53:04 -07:00
Tianon Gravi a7934d4261 Switch from SKS to Ubuntu keyserver
See also https://github.com/docker-library/faq#openpgp--gnupg-keys-and-verification and https://github.com/tianon/pgp-happy-eyeballs
2021-06-22 13:54:54 -07:00
J0WI 3bb1e5481f Alpine 3.14 2021-06-16 16:31:27 +02:00
J0WI fd5562df2f Alpine 3.13 2021-01-15 21:16:09 +01:00
Tianon Gravi 584f6f7438 Add separate unstable/stable versions and initial jq-based templating engine 2021-01-11 14:06:49 -08:00