criu/test/jenkins/_run_ct
Pavel Emelyanov a5c2e8cd86 jenkins: Mount binfmt misc in run_ct
The mountpoints.c test creates such mount and criu will try to
kerndat-check one, so this fs should be on "host".

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-12-23 17:12:53 +03:00

8 lines
147 B
Bash
Executable file

#!/bin/sh
set -e
mount --make-rprivate /
umount -l /proc
mount -t proc proc /proc/
mount -t binfmt_misc none /proc/sys/fs/binfmt_misc/
exec "$@"