criu/scripts
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
..
build scripts/build/binfmt_misc: fix for ppc64le 2017-10-17 08:40:10 +03:00
nmk nmk: Provide try-asm build check function 2017-06-14 09:48:43 +03:00
travis travis: check docker checkpoint 2017-10-05 21:04:21 +03:00
crit-setup.py lib Makefiles: integrate 2017-03-06 20:44:07 +03:00
fake-restore.sh scripts: Add script to abort restore at the end 2014-02-05 19:40:47 +04:00
feature-tests.mak criu: always enable the userfaultfd support 2017-09-16 09:10:03 +03:00
flake8.cfg zdtm: use flake8 to verify zdtm.py 2016-06-28 13:09:35 +03:00
install-debian-pkgs.sh Add script to install required packages to compile in Debian 2016-09-26 15:42:43 +03:00
magic-gen.py python: specify python2 as .py interpreter 2017-04-17 18:35:58 +03:00
protobuf-gen.sh build/make: return to make from top directory 2016-08-01 18:38:32 +03:00
systemd-autofs-restart.sh systemd-autofs-restart.sh: fix issue with removed check_fs_type reference 2017-03-06 11:44:05 +03:00
tmp-files.sh tmpfiles: implement user tmp files feature 2016-03-09 12:48:33 +03:00