From 3066c959d087b8474b37b965525004e7792f0589 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Fri, 28 Aug 2026 01:37:26 -0400 Subject: [PATCH] ci: pin netbsd cross apt install (#2223) Pins curl and xz-utils versions for the netbsd pre-build script. This pins it to the most recent versions as of writing. Note: may be worth exploring just making a custom image that has this rather than doing it each time beforehand. --- Cross.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cross.toml b/Cross.toml index 7c82ce90..898ac3e3 100644 --- a/Cross.toml +++ b/Cross.toml @@ -3,5 +3,6 @@ passthrough = ["RUST_BACKTRACE", "BTM_GENERATE"] [target.x86_64-unknown-netbsd] pre-build = [ - "apt-get update && apt-get install -y --no-install-recommends curl xz-utils && td=$(mktemp -d) && mkdir -p \"$td/netbsd\" && curl -4 --retry 3 -sSfL 'http://ftp.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64/binary/sets/base.tar.xz' | tar -C \"$td/netbsd\" -xJ ./usr/lib ./lib && curl -4 --retry 3 -sSfL 'http://ftp.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64/binary/sets/comp.tar.xz' | tar -C \"$td/netbsd\" -xJ ./usr/lib && cp \"$td\"/netbsd/usr/lib/libkvm* /usr/local/x86_64-unknown-netbsd/lib/ && rm -rf \"$td\"", + # Last updated on 2026-08-28 + "apt-get update && apt-get install -y --no-install-recommends curl=8.5.0-2ubuntu10.13 xz-utils=5.6.1+really5.4.5-1ubuntu0.3 && td=$(mktemp -d) && mkdir -p \"$td/netbsd\" && curl -4 --retry 3 -sSfL 'http://ftp.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64/binary/sets/base.tar.xz' | tar -C \"$td/netbsd\" -xJ ./usr/lib ./lib && curl -4 --retry 3 -sSfL 'http://ftp.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64/binary/sets/comp.tar.xz' | tar -C \"$td/netbsd\" -xJ ./usr/lib && cp \"$td\"/netbsd/usr/lib/libkvm* /usr/local/x86_64-unknown-netbsd/lib/ && rm -rf \"$td\"", ]