Commit 98ac646f authored by Mike Rapoport's avatar Mike Rapoport Committed by Andrei Vagin

ppc64le: travis: fixup Ubuntu repositories

The ppc64le docker image has broken /etc/apt/sources.list. A small fixup to
it allows running ppc64le tests.
Signed-off-by: 's avatarMike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 835e252b
...@@ -2,3 +2,4 @@ FROM ppc64le/ubuntu:trusty ...@@ -2,3 +2,4 @@ FROM ppc64le/ubuntu:trusty
ENV QEMU_CPU POWER8 ENV QEMU_CPU POWER8
COPY scripts/build/qemu-user-static/usr/bin/qemu-ppc64le-static /usr/bin/qemu-ppc64le-static COPY scripts/build/qemu-user-static/usr/bin/qemu-ppc64le-static /usr/bin/qemu-ppc64le-static
RUN sed -i '/security/ d' /etc/apt/sources.list
...@@ -30,6 +30,12 @@ travis_prep () { ...@@ -30,6 +30,12 @@ travis_prep () {
CC="ccache $CC" CC="ccache $CC"
fi fi
# The /etc/apt/sources.list in the current trusty image for ppc64le is
# broken and needs to be fixed
if [ "$TR_ARCH" = "ppc64le" ] ; then
sed -i '/security/ d' /etc/apt/sources.list
fi
apt-get update -qq apt-get update -qq
apt-get install -qq --no-install-recommends $TRAVIS_PKGS apt-get install -qq --no-install-recommends $TRAVIS_PKGS
chmod a+x $HOME chmod a+x $HOME
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment