File tree 2 files changed +9
-3
lines changed
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 - &&
58
58
# Download the ubuntu rootfs, which we'll use as a chroot for all our tests.
59
59
WORKDIR /tmp
60
60
RUN 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 | \
62
62
tar xzf - -C rootfs/ubuntu && \
63
63
cd rootfs && mkdir proc sys dev etc etc/init.d
64
64
Original file line number Diff line number Diff line change 4
4
# Versions of the toolchain components are configurable in `musl-cross-make/Makefile` and
5
5
# musl unlike GLIBC is forward compatible so upgrading it shouldn't break old distributions.
6
6
# Right now we have: Binutils 2.31.1, GCC 9.2.0, musl 1.1.24.
7
+
8
+ # ignore-tidy-linelength
9
+
7
10
set -ex
8
11
9
12
hide_output () {
26
29
ARCH=$1
27
30
TARGET=$ARCH -linux-musl
28
31
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
+
29
35
OUTPUT=/usr/local
30
36
shift
31
37
@@ -38,8 +44,8 @@ cd musl-cross-make
38
44
# A few commits ahead of v0.9.9 to include the cowpatch fix:
39
45
git checkout a54eb56f33f255dfca60be045f12a5cfaf5a72a9
40
46
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
43
49
44
50
cd -
45
51
You can’t perform that action at this time.
0 commit comments