[CRIU] [PATCH] travis: add libcap-dev

Andrew Vagin avagin at openvz.org
Tue Jul 14 07:04:16 PDT 2015


It's required for zdtm/live/static/different_creds

cc -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0  -iquote ../../lib/arch/x86/include -I../../lib  -c -o different_creds.o different_creds.c
different_creds.c:7:28: fatal error: sys/capability.h: No such file or directory

Signed-off-by: Andrew Vagin <avagin at openvz.org>
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 234e247..b001fec 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 libseccomp-dev
+  - sudo apt-get install -qq protobuf-c-compiler libprotobuf-c0-dev libaio-dev libprotobuf-dev protobuf-compiler python-ipaddr libseccomp-dev libcap-dev
 script:
   - "bash -ex scripts/travis-ci.sh"
-- 
2.4.3



More information about the CRIU mailing list