mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
snapcraft: Update bgpd to use newer rpki lib
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
This commit is contained in:
parent
8ebfb3aade
commit
cf00bad325
|
@ -10,7 +10,7 @@ fi
|
|||
if ! [ -e $SNAP_DATA/rpki.conf ]; then
|
||||
echo "-M rpki" > $SNAP_DATA/rpki.conf
|
||||
fi
|
||||
EXTRA_OPTIONS="`cat $SNAP_DATA/rpki.conf`"
|
||||
EXTRA_OPTIONS="`$SNAP/bin/cat $SNAP_DATA/rpki.conf`"
|
||||
exec $SNAP/sbin/bgpd \
|
||||
-f $SNAP_DATA/bgpd.conf \
|
||||
--pid_file $SNAP_DATA/bgpd.pid \
|
||||
|
|
|
@ -136,7 +136,7 @@ apps:
|
|||
- network-bind
|
||||
- network-control
|
||||
bgpd-debug:
|
||||
command: sbin/bgpd -f $SNAP_DATA/bgpd.conf --pid_file $SNAP_DATA/bgpd.pid --socket $SNAP_DATA/zsock --vty_socket $SNAP_DATA --moduledir $SNAP/lib/frr/modules `cat $SNAP_DATA/rpki.conf 2> /dev/null`
|
||||
command: sbin/bgpd -f $SNAP_DATA/bgpd.conf --pid_file $SNAP_DATA/bgpd.pid --socket $SNAP_DATA/zsock --vty_socket $SNAP_DATA --moduledir $SNAP/lib/frr/modules
|
||||
plugs:
|
||||
- network
|
||||
- network-bind
|
||||
|
@ -230,7 +230,7 @@ parts:
|
|||
stage-packages:
|
||||
- libssh-4
|
||||
prime:
|
||||
- lib/x86_64-linux-gnu/librtr.so*
|
||||
- lib/librtr.so*
|
||||
- usr/lib/x86_64-linux-gnu/libssh.so*
|
||||
source: https://github.com/rtrlib/rtrlib.git
|
||||
source-type: git
|
||||
|
|
Loading…
Reference in a new issue