@@ -41,8 +41,6 @@ cd netbsd
4141
4242mkdir -p /x-tools/x86_64-unknown-netbsd/sysroot
4343
44- #  URL=https://ci-mirrors.rust-lang.org/rustc
45- 
4644#  Hashes come from https://cdn.netbsd.org/pub/NetBSD/security/hashes/NetBSD-9.0_hashes.asc
4745SRC_SHA=2c791ae009a6929c6fc893ec5df7e62910ee8207e0b2159d6937309c03efe175b6ae1e445829a13d041b6851334ad35c521f2fa03c97675d4a05f1fafe58ede0
4846GNUSRC_SHA=3710085a73feecf6a843415271ec794c90146b03f6bbd30f07c9e0c79febf8995d557e40194f1e05db655e4f5ef2fae97563f8456fceaae65d4ea98857a83b1c
@@ -51,19 +49,13 @@ SYSSRC_SHA=60b9ddf4cc6402256473e2e1eefeabd9001aa4e205208715ecc6d6fc3f5b400e46994
5149BASE_SHA=b5926b107cebf40c3c19b4f6cd039b610987dd7f819e7cdde3bd1e5230a856906e7930b15ab242d52ced9f0bda01d574be59488b8dbb95fa5df2987d0a70995f
5250COMP_SHA=38ea54f30d5fc2afea87e5096f06873e00182789e8ad9cec0cb3e9f7c538c1aa4779e63fd401a36ba02676158e83fa5c95e8e87898db59c1914fb206aecd82d2
5351
54- #  FIXME: the archive URL is being used temporarily while the CDN is down.
55- #  We should serve this from our own CDN
56- #  SOURCE_URL=https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.0/source/sets
57- SOURCE_URL=http://archive.netbsd.org/pub/NetBSD-archive/NetBSD-9.0/source/sets
52+ SOURCE_URL=https://ci-mirrors.rust-lang.org/rustc/2025-03-14-netbsd-9.0-src
5853download src.tgz " $SOURCE_URL /src.tgz" " $SRC_SHA " 
5954download gnusrc.tgz " $SOURCE_URL /gnusrc.tgz" " $GNUSRC_SHA " 
6055download sharesrc.tgz " $SOURCE_URL /sharesrc.tgz" " $SHARESRC_SHA " 
6156download syssrc.tgz " $SOURCE_URL /syssrc.tgz" " $SYSSRC_SHA " 
6257
63- #  FIXME: the archive URL is being used temporarily while the CDN is down.
64- #  We should serve this from our own CDN
65- #  BINARY_URL=https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.0/amd64/binary/sets
66- BINARY_URL=http://archive.netbsd.org/pub/NetBSD-archive/NetBSD-9.0/amd64/binary/sets
58+ BINARY_URL=https://ci-mirrors.rust-lang.org/rustc/2025-03-14-netbsd-9.0-amd64-binary
6759download base.tar.xz " $BINARY_URL /base.tar.xz" " $BASE_SHA " 
6860  tar xJf base.tar.xz -C /x-tools/x86_64-unknown-netbsd/sysroot ./usr/include ./usr/lib ./lib
6961download comp.tar.xz " $BINARY_URL /comp.tar.xz" " $COMP_SHA " 
0 commit comments