[CRIU] [PATCH] travis: install libseccomp-dev
Andrey Vagin
avagin at openvz.org
Thu Jun 25 02:22:28 PDT 2015
2015-06-25 0:34 GMT+03:00 Tycho Andersen <tycho.andersen at canonical.com>:
> Hi Andrey,
>
> Why is this needed? I think we shouldn't use any of libseccomp (just
> the kernel's linux/seccomp.h).
Yes, you are right. There is another problem. The raspberry pi test
server has old kernel headers. seccomp was merged in 3.12, but criu
must work starting with 3.11.
>
> Tycho
>
> On Thu, Jun 25, 2015 at 12:12:10AM +0300, Andrey Vagin wrote:
>> Signed-off-by: Andrey Vagin <avagin at openvz.org>
>> ---
>> .travis.yml | 2 +-
>> Dockerfile | 1 +
>> 2 files changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/.travis.yml b/.travis.yml
>> index 5683464..234e247 100644
>> --- a/.travis.yml
>> +++ b/.travis.yml
>> @@ -6,6 +6,6 @@ compiler:
>> - gcc
>> before_install:
>> - sudo apt-get update -qq
>> - - sudo apt-get install -qq protobuf-c-compiler libprotobuf-c0-dev libaio-dev libprotobuf-dev protobuf-compiler python-ipaddr
>> + - sudo apt-get install -qq protobuf-c-compiler libprotobuf-c0-dev libaio-dev libprotobuf-dev protobuf-compiler python-ipaddr libseccomp-dev
>> script:
>> - "bash -ex scripts/travis-ci.sh"
>> diff --git a/Dockerfile b/Dockerfile
>> index 1d1bb16..57cb60a 100644
>> --- a/Dockerfile
>> +++ b/Dockerfile
>> @@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y \
>> protobuf-compiler \
>> python-minimal \
>> libaio-dev \
>> + libseccomp-dev \
>> iptables
>>
>> COPY . /criu
>> --
>> 2.1.0
>>
>> _______________________________________________
>> CRIU mailing list
>> CRIU at openvz.org
>> https://lists.openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list