File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
docker/s390x-unknown-linux-gnu Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,13 @@ language: rust
2
2
rust : stable
3
3
sudo : required
4
4
dist : trusty
5
+ addons :
6
+ apt :
7
+ packages :
8
+ # register qemu interpreters because inside docker it is not possible
9
+ # it is required by qemu-debootstrap (used by s390x)
10
+ - binfmt-support
11
+ - qemu-user-static
5
12
services :
6
13
- docker
7
14
install :
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5
5
gcc libc6-dev \
6
6
gcc-s390x-linux-gnu libc6-dev-s390x-cross \
7
7
debian-archive-keyring debootstrap cpio \
8
- qemu-user-static qemu-system-s390x \
8
+ binfmt-support qemu-user-static qemu-system-s390x \
9
9
sshpass openssh-client
10
10
11
11
COPY linux-image.sh /
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ qemu-debootstrap \
24
24
rm -f $dest /var/lib/dpkg/status
25
25
mv $dest /bin/mount /mount.bak
26
26
cp $dest /bin/true $dest /bin/mount
27
- chroot $dest /debootstrap/debootstrap --second-stage
27
+ chroot $dest /debootstrap/debootstrap --second-stage || cat $dest //debootstrap/debootstrap.log && false
28
28
mv -f /mount.bak $dest /bin/mount
29
29
30
30
# ssh
You can’t perform that action at this time.
0 commit comments