criu/scripts/build
Kirill Kolyshkin 7b8ed84cd9 scripts/build/binfmt_misc: fix for ppc64le
Got this error trying to build criu on ppc64le under qemu, after
updating the Dockerfile to use Ubuntu Xenial (rather than Trusty):

> $ rm -rf .ccache; make -C scripts/build ppc64le-clang
>
> ...
>
> Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
> /sbin/ldconfig.real: 1: /sbin/ldconfig.real: Syntax error: "(" unexpected
> /sbin/ldconfig.real: 1: /sbin/ldconfig.real: Syntax error: "(" unexpected
> dpkg: error processing package libc-bin (--configure):
>  subprocess installed post-installation script returned error exit status 2
> ...

Apparently, ldconfig.real binary header differs from others:

root@3c7593d3298d:/# od -x /bin/ls | head -2
0000000 457f 464c 0102 0001 0000 0000 0000 0000
0000020 0002 0015 0001 0000 5680 1000 0000 0000

root@3c7593d3298d:/# od -x /sbin/ldconfig.real | head -2
0000000 457f 464c 0102 0301 0000 0000 0000 0000
0000020 0002 0015 0001 0000 1d58 1000 0000 0000

Amend the mask in binfmt_misc entry to take this into account.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2017-10-17 08:40:10 +03:00
..
binfmt_misc scripts/build/binfmt_misc: fix for ppc64le 2017-10-17 08:40:10 +03:00
Dockerfile.aarch64.hdr travis arm64: switch to zesty 2017-10-17 08:40:10 +03:00
Dockerfile.alpine Dockerfiles: don't ignore make failures 2017-04-02 18:12:10 +03:00
Dockerfile.armv7hf.hdr dockerfile: extract a common part in one file 2016-02-19 14:33:03 +03:00
Dockerfile.fedora-asan Dockerfile.fedora-asan: don't ignore failures 2017-10-17 08:40:10 +03:00
Dockerfile.ppc64le.hdr ppc64le: travis: fixup Ubuntu repositories 2017-08-31 00:35:34 +03:00
Dockerfile.s390x.hdr s390: Enable travis 2017-08-09 18:51:41 +03:00
Dockerfile.tmpl Dockerfiles: don't ignore make failures 2017-04-02 18:12:10 +03:00
Dockerfile.x86_64.hdr travis/ia32: Remove libc6.i386 dependency 2017-06-14 09:49:30 +03:00
extract-deb-pkg Travis: fix yandex URL for packages 2016-08-01 16:51:05 +03:00
Makefile travis arm64: switch to zesty 2017-10-17 08:40:10 +03:00