mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-22 17:49:13 +00:00
qemu-static from ubuntu/xenial contains a required fix and now we can execute compilation for ppc64le in travis. v2: rebase on criu-dev v3: set QEMU_CPU=POWER8 to avoid segfaults of qemu-ppc64le-static > > By default, both qemu and gcc5 produce code on ppc64el which will run on > > POWER7 platform. However, in debian gcc build instruction, gcc is explicitly > > built to produce code for POWER8 platform, which, obviously has additional > > instructions. v4: use ubuntu:trusty. xenial and wily has a bug: Processing triggers for libc-bin (2.21-0ubuntu4.1) ... /sbin/ldconfig.real: 5: /sbin/ldconfig.real: Syntax error: ")" unexpected /sbin/ldconfig.real: 5: /sbin/ldconfig.real: Syntax error: ")" unexpected v5: arm, x86, aarch64 were removed by mistake Signed-off-by: Andrew Vagin <avagin@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
10 lines
374 B
Text
Executable file
10 lines
374 B
Text
Executable file
#'http://mirror.yandex.ru/debian/pool/main/q/qemu/qemu-user-static_2.5%2Bdfsg-5_amd64.deb'
|
|
set -e
|
|
test -d $1 && exit
|
|
mkdir $1
|
|
cd $1
|
|
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
|
|
tar -xJvf data.tar.xz
|