Skip to content
Browse files

RedHat spec: Add the rpki module when needed

Additional help complementing #2669, this adds the rpki module to the bgpd daemon at RPM creation.
  • Loading branch information...
pcarana committed Jul 17, 2018
1 parent 51034b7 commit 0817301aac07e4c1e10e5fe447aef6a295e5ad59
Showing with 4 additions and 0 deletions.
  1. +4 −0 redhat/
@@ -370,6 +370,10 @@ ln -s %{_sbindir}/frr %{buildroot}%{_initddir}/frr

install %{zeb_rh_src}/daemons %{buildroot}%{_sysconfdir}/frr
# add rpki module to daemon
%if %{with_rpki}
sed -i -e 's/^\(bgpd_options=\)\(.*\)\(".*\)/\1\2 -M rpki\3/' %{buildroot}%{_sysconfdir}/frr/daemons
install -m644 %{zeb_rh_src}/frr.pam %{buildroot}%{_sysconfdir}/pam.d/frr
install -m644 %{zeb_rh_src}/frr.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/frr
install -d -m750 %{buildroot}%{rundir}

0 comments on commit 0817301

Please sign in to comment.
You can’t perform that action at this time.