File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ RUN curl https://www.busybox.net/downloads/busybox-1.21.1.tar.bz2 | tar xjf - &&
5858# Download the ubuntu rootfs, which we'll use as a chroot for all our tests.
5959WORKDIR /tmp
6060RUN mkdir rootfs/ubuntu
61- RUN curl http://cdimage.ubuntu.com/ubuntu-base/releases/16.04/release/ubuntu-base-16.04-core -armhf.tar.gz | \
61+ RUN curl http://cdimage.ubuntu.com/ubuntu-base/releases/16.04/release/ubuntu-base-16.04.6-base -armhf.tar.gz | \
6262 tar xzf - -C rootfs/ubuntu && \
6363 cd rootfs && mkdir proc sys dev etc etc/init.d
6464
Original file line number Diff line number Diff line change 44# Versions of the toolchain components are configurable in `musl-cross-make/Makefile` and
55# musl unlike GLIBC is forward compatible so upgrading it shouldn't break old distributions.
66# Right now we have: Binutils 2.31.1, GCC 9.2.0, musl 1.1.24.
7+
8+ # ignore-tidy-linelength
9+
710set -ex
811
912hide_output () {
2629ARCH=$1
2730TARGET=$ARCH -linux-musl
2831
32+ # Don't depend on the mirrors of sabotage linux that musl-cross-make uses.
33+ LINUX_HEADERS_SITE=https://ci-mirrors.rust-lang.org/rustc/sabotage-linux-tarballs
34+
2935OUTPUT=/usr/local
3036shift
3137
@@ -38,8 +44,8 @@ cd musl-cross-make
3844# A few commits ahead of v0.9.9 to include the cowpatch fix:
3945git checkout a54eb56f33f255dfca60be045f12a5cfaf5a72a9
4046
41- hide_output make -j$( nproc) TARGET=$TARGET MUSL_VER=1.1.24
42- hide_output make install TARGET=$TARGET MUSL_VER=1.1.24 OUTPUT=$OUTPUT
47+ hide_output make -j$( nproc) TARGET=$TARGET MUSL_VER=1.1.24 LINUX_HEADERS_SITE= $LINUX_HEADERS_SITE
48+ hide_output make install TARGET=$TARGET MUSL_VER=1.1.24 LINUX_HEADERS_SITE= $LINUX_HEADERS_SITE OUTPUT=$OUTPUT
4349
4450cd -
4551
You can’t perform that action at this time.
0 commit comments