[CRIU] [PATCH] travis: fix building on s390x

Adrian Reber adrian at lisas.de
Thu Jun 28 12:46:45 MSK 2018


From: Adrian Reber <areber at redhat.com>

The travis build for s390x started to fail with:

Failed to fetch http://security.debian.org/debian-security/dists/jessie/updates/InRelease Unable to find expected entry 'main/binary-s390x/Packages' in Release file (Wrong sources.list entry or malformed file)

This changes the repository definition just like it is done for ppc64le.

Signed-off-by: Adrian Reber <areber at redhat.com>
---
 scripts/build/Dockerfile.s390x.hdr | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/build/Dockerfile.s390x.hdr b/scripts/build/Dockerfile.s390x.hdr
index 37ff208..7c92fe0 100644
--- a/scripts/build/Dockerfile.s390x.hdr
+++ b/scripts/build/Dockerfile.s390x.hdr
@@ -2,3 +2,5 @@ FROM s390x/debian:jessie-backports
 
 ENV QEMU_CPU z900
 COPY scripts/build/qemu-user-static/usr/bin/qemu-s390x-static /usr/bin/qemu-s390x-static
+# The security repository does not seem to exist anymore
+RUN sed -i '/security/ d' /etc/apt/sources.list
-- 
1.8.3.1



More information about the CRIU mailing list