Skip to content
Permalink
Browse files

ci: Update FreeBSD tarball downloads

These appear to have disappeared from the original server, so I acquired
the contents from a different mirror and uploaded them to our S3 bucket
  • Loading branch information...
alexcrichton committed Apr 4, 2019
1 parent 52980d0 commit fcc8b8cef2090389b82e96b1d4f32f70c1195206
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/ci/docker/scripts/freebsd-toolchain.sh
@@ -1,4 +1,6 @@
#!/bin/bash
# ignore-tidy-linelength

set -eux

arch=$1
@@ -55,7 +57,9 @@ for lib in c++ c_nonshared compiler_rt execinfo gcc pthread rt ssp_nonshared; do
files_to_extract=("${files_to_extract[@]}" "./usr/lib/lib${lib}.*")
done

URL=https://download.freebsd.org/ftp/releases/${freebsd_arch}/${freebsd_version}-RELEASE/base.txz
# Originally downloaded from:
# https://download.freebsd.org/ftp/releases/${freebsd_arch}/${freebsd_version}-RELEASE/base.txz
URL=https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2019-04-04-freebsd-${freebsd_arch}-${freebsd_version}-RELEASE-base.txz
curl "$URL" | tar xJf - -C "$sysroot" --wildcards "${files_to_extract[@]}"

# Fix up absolute symlinks from the system image. This can be removed

0 comments on commit fcc8b8c

Please sign in to comment.
You can’t perform that action at this time.