[CRIU] [PATCH 01/21] build: install libnet-dev

Andrei Vagin avagin at openvz.org
Thu Dec 1 00:32:19 PST 2016


From: Andrei Vagin <avagin at virtuozzo.com>

It will be used to generate tcp packets for restoring half-closed sockets.

Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
 scripts/build/Dockerfile.alpine | 1 +
 scripts/build/Dockerfile.tmpl   | 1 +
 scripts/travis/travis-tests     | 3 ++-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/scripts/build/Dockerfile.alpine b/scripts/build/Dockerfile.alpine
index c8f79dc..984ecb1 100644
--- a/scripts/build/Dockerfile.alpine
+++ b/scripts/build/Dockerfile.alpine
@@ -11,6 +11,7 @@ RUN apk update && apk add \
                 libcap-dev \
                 libnl3-dev \
                 pkgconfig \
+                libnet-dev \
                 $CC
 COPY . /criu
 WORKDIR /criu
diff --git a/scripts/build/Dockerfile.tmpl b/scripts/build/Dockerfile.tmpl
index f1e7a50..963005f 100644
--- a/scripts/build/Dockerfile.tmpl
+++ b/scripts/build/Dockerfile.tmpl
@@ -15,6 +15,7 @@ RUN apt-get update && apt-get install -y \
                 libselinux-dev \
                 pkg-config \
                 git-core \
+		libnet-dev \
                 $CC
 
 COPY . /criu
diff --git a/scripts/travis/travis-tests b/scripts/travis/travis-tests
index 9a90d15..42276d8 100755
--- a/scripts/travis/travis-tests
+++ b/scripts/travis/travis-tests
@@ -3,7 +3,8 @@ set -x -e
 
 TRAVIS_PKGS="protobuf-c-compiler libprotobuf-c0-dev libaio-dev
 		libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev
-		libnl-3-dev gcc-multilib libc6-dev-i386 gdb bash python-protobuf"
+		libnl-3-dev gcc-multilib libc6-dev-i386 gdb bash python-protobuf
+		libnet-dev"
 
 travis_prep () {
 	[ -n "$SKIP_TRAVIS_PREP" ] && return
-- 
2.7.4



More information about the CRIU mailing list