mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-09-23 11:05:34 +00:00
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.
This commit is contained in:
+2
-1
@@ -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\"",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user