summaryrefslogtreecommitdiffstats
path: root/snapcraft/snapcraft.yaml.in
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2017-04-21 11:49:39 +0200
committerMartin Winter <mwinter@opensourcerouting.org>2017-04-21 11:49:39 +0200
commitd851b2fc0d872e461b3c90056f0a1b551c0e4cf6 (patch)
tree19c9c06df33312bf26284f751c2463da23e8a8ee /snapcraft/snapcraft.yaml.in
parentlib: Add CLI option --moduledir to override default module location (needed f... (diff)
downloadfrr-d851b2fc0d872e461b3c90056f0a1b551c0e4cf6.tar.xz
frr-d851b2fc0d872e461b3c90056f0a1b551c0e4cf6.zip
snapcraft: Add FPM module with command to set mode or disable it
- New snap command: frr.set fpm {disable | protobuf | netlink} Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Diffstat (limited to 'snapcraft/snapcraft.yaml.in')
-rw-r--r--snapcraft/snapcraft.yaml.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/snapcraft/snapcraft.yaml.in b/snapcraft/snapcraft.yaml.in
index 54a1cfd4f..b5fb24a36 100644
--- a/snapcraft/snapcraft.yaml.in
+++ b/snapcraft/snapcraft.yaml.in
@@ -90,6 +90,8 @@ apps:
- network
- network-bind
- network-control
+ set:
+ command: bin/set-options
zebra-debug:
command: sbin/zebra -f $SNAP_DATA/zebra.conf --pid_file $SNAP_DATA/zebra.pid --socket $SNAP_DATA/zsock --vty_socket $SNAP_DATA
plugs:
@@ -177,6 +179,7 @@ parts:
- bison
- flex
- python3-dev
+ - protobuf-c-compiler
stage-packages:
- coreutils
- iproute2
@@ -208,6 +211,8 @@ parts:
- --enable-group=root
- --enable-pimd
- --enable-ldpd
+ - --enable-fpm
+ - --enable-protobuf
- --enable-configfile-mask=0640
- --enable-logfile-mask=0640
- --localstatedir=/var/run