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

Pavel Emelyanov xemul at virtuozzo.com
Tue Apr 19 22:11:14 PDT 2016


On 04/15/2016 12:53 AM, Andrey Vagin wrote:
> 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 }'`

The extract-deb-pkg in criu-dev branch has another URL in this place.

>  wget "http://mirror.yandex.ru/ubuntu/$pkg"
>  pkg=`basename $pkg`
>  ar vx $pkg
> 



More information about the CRIU mailing list