Docker patches
The following changes since commit 6181478f6395cdd9d6ffd99623d0c9f39ea53606:
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2017-02-28 08:46:03 +0000)
are available in the git repository at:
git://github.com/famz/qemu.git tags/docker-pull-request
for you to fetch changes up to 1ed9251515382a1fc9c6187fee8d7d7bf141dc90:
.shippable: add s390x-cross target (2017-02-28 20:31:01 +0800)
----------------------------------------------------------------
Two more test/build automation patches from Alex for the freeze. Theoretically these are okay to merge even after freeze but on the other hand I see no reason to delay them.
----------------------------------------------------------------
Alex Bennée (2):
new: dockerfiles/debian-s390-cross
.shippable: add s390x-cross target
.shippable.yml | 2 ++ tests/docker/dockerfiles/debian-s390x-cross.docker | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-s390x-cross.docker
Signature · 1 line
2.9.3
[Qemu-devel] [PULL 1/2] new: dockerfiles/debian-s390-cross
From: Alex Bennée <[email protected]>
This adds an s390 cross build target to our library of docker setups. There is an issue with the xfslibs-dev:s390x package having a clash so we do a || apt-get -f install to fixup the rest of the dependencies.
This doesn't build on the debian.docker file as we are using the multilib compiler which is only available in stretch (the current testing repo).
Message-Id: <[email protected]>
--- tests/docker/dockerfiles/debian-s390x-cross.docker | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-s390x-cross.docker
tests/docker/dockerfiles/debian-s390x-cross.docker new file +22 -0
@@ -0,0 +1,22 @@ +# +# Docker s390 cross-compiler target +# +# This docker target is based on stretch (testing) as the stable build +# doesn't have the cross compiler available. +# +FROM debian:testing-slim + +# Duplicate deb line as deb-src +RUN cat /etc/apt/sources.list | sed "s/deb/deb-src/" >> /etc/apt/sources.list + +# Add the s390x architecture +RUN dpkg --add-architecture s390x + +# Grab the updated list of packages +RUN apt update +RUN apt dist-upgrade -yy +RUN apt-get build-dep -yy -a s390x qemu || apt-get -f install +RUN apt install -yy gcc-multilib-s390x-linux-gnu binutils-multiarch + +# Specify the cross prefix for this image (see tests/docker/common.rc) +ENV QEMU_CONFIGURE_OPTS --cross-prefix=s390x-linux-gnu-
Signature · 1 line
2.9.3
[Qemu-devel] [PULL 2/2] .shippable: add s390x-cross target
In reply to Fam ZhengFrom: Alex Bennée <[email protected]>
Use the new debian-s390x-cross.docker target to cross compile for s390.
Message-Id: <[email protected]>
--- .shippable.yml | 2 ++ 1 file changed, 2 insertions(+)
.shippable.yml +2 -0
@@ -5,6 +5,8 @@ env: TARGET_LIST=arm-softmmu,arm-linux-user - IMAGE=debian-arm64-cross TARGET_LIST=aarch64-softmmu,aarch64-linux-user + - IMAGE=debian-s390x-cross + TARGET_LIST=s390x-softmmu,s390x-linux-user build: pre_ci: - make docker-image-${IMAGE}
Signature · 1 line
2.9.3
Peter Maydell
AppliedQuoted 20 lines · Fam Zheng
The following changes since commit
6181478f6395cdd9d6ffd99623d0c9f39ea53606:Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2017-02-28 08:46:03 +0000)
are available in the git repository at:
git://github.com/famz/qemu.gittags/docker-pull-requestfor you to fetch changes up to
1ed9251515382a1fc9c6187fee8d7d7bf141dc90:.shippable: add s390x-cross target (2017-02-28 20:31:01 +0800)
----------------------------------------------------------------
Two more test/build automation patches from Alex for the freeze. Theoretically these are okay to merge even after freeze but on the other hand I see no reason to delay them.
----------------------------------------------------------------
Quoted 8 lines
Alex Bennée (2):
new: dockerfiles/debian-s390-cross
.shippable: add s390x-cross target.shippable.yml | 2 ++ tests/docker/dockerfiles/debian-s390x-cross.docker | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-s390x-cross.docker
Applied, thanks.
-- PMM