File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,17 @@ PACKAGES+=" libssl-dev" # needed for certificate based security
28
28
PACKAGES+=" sudo" # needed for pcn-iptables, when building docker image
29
29
PACKAGES+=" kmod" # needed for pcn-iptables, when using lsmod to unload conntrack if not needed
30
30
PACKAGES+=" jq bash-completion" # needed for polycubectl bash autocompletion
31
+ PACKAGES+=" libpcre3-dev" # needed for libyang
31
32
32
33
if [ " $MODE " == " pcn-k8s" ]; then
33
34
PACKAGES+=" curl" # needed for pcn-k8s to download a binary
34
35
PACKAGES+=" iptables" # only for pcn-k8s
35
36
PACKAGES+=" iproute2" # provides bridge command that is used to add entries in vxlan device
36
37
fi
37
38
39
+ # use non interactive to avoid blocking the install script
40
+ $SUDO bash -c " DEBIAN_FRONTEND=noninteractive apt-get install -yq $PACKAGES "
41
+
38
42
# licd $WORKDIR
39
43
set +e
40
44
if [ ! -d libyang ]; then
@@ -47,9 +51,6 @@ cmake ..
47
51
make -j $( getconf _NPROCESSORS_ONLN)
48
52
$SUDO make install
49
53
50
- # use non interactive to avoid blocking the install script
51
- $SUDO bash -c " DEBIAN_FRONTEND=noninteractive apt-get install -yq $PACKAGES "
52
-
53
54
echo " Install pistache"
54
55
cd $WORKDIR
55
56
set +e
You can’t perform that action at this time.
0 commit comments