[CRIU] [PATCH] travis: enable compilation for ppc64le

Andrey Vagin avagin at openvz.org
Thu Apr 14 14:53:44 PDT 2016


From: Andrew Vagin <avagin at virtuozzo.com>

qemu-static from ubuntu/xenial contains a required fix
and now we can execute compilation for ppc64le in travis.

Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
---
 .travis.yml                   | 1 +
 scripts/build/extract-deb-pkg | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 121a7c7..5cd1366 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@ env:
   - TR_ARCH=x86_64
   - TR_ARCH=armv7hf
   - TR_ARCH=aarch64
+  - TR_ARCH=ppc64le
 script:
   - sudo make -C scripts/build $TR_ARCH
   - sudo ./scripts/travis-tests $TR_ARCH
diff --git a/scripts/build/extract-deb-pkg b/scripts/build/extract-deb-pkg
index ac63319..da527e8 100755
--- a/scripts/build/extract-deb-pkg
+++ b/scripts/build/extract-deb-pkg
@@ -3,7 +3,7 @@ set -e
 test -d $1 && exit
 mkdir $1
 cd $1
-pkg=`curl http://mirror.yandex.ru/ubuntu/ubuntu/dists/wily/universe/binary-amd64/Packages.gz | zcat | grep "Filename.*$1" | awk '{ print $2 }'`
+pkg=`curl http://mirror.yandex.ru/ubuntu/ubuntu/dists/xenial/universe/binary-amd64/Packages.gz | zcat | grep "Filename.*$1" | awk '{ print $2 }'`
 wget "http://mirror.yandex.ru/ubuntu/$pkg"
 pkg=`basename $pkg`
 ar vx $pkg
-- 
2.5.0



More information about the CRIU mailing list