Skip to content

Commit 8abe2f2

Browse files
committed
Fix s390x image creation
1 parent 999cb50 commit 8abe2f2

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.travis.yml

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ language: rust
22
rust: stable
33
sudo: required
44
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
512
services:
613
- docker
714
install:

ci/linux-image.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ qemu-debootstrap \
2424
rm -f $dest/var/lib/dpkg/status
2525
mv $dest/bin/mount /mount.bak
2626
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
2828
mv -f /mount.bak $dest/bin/mount
2929

3030
# ssh

0 commit comments

Comments
 (0)