mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 13:20:12 +00:00
packaging: Reuse frr.logrotate for Debian and Redhat builds
It will be easier to maintain a single file instead of two separate. Also, fixes the issue when the file (/var/log/frr/frr.log) is not created after logrotate. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
473f9912cf
commit
c4831d2864
@ -231,7 +231,7 @@ EXTRA_DIST += \
|
||||
\
|
||||
python/xrefstructs.json \
|
||||
\
|
||||
redhat/frr.logrotate \
|
||||
tools/etc/logrotate.d/frr \
|
||||
redhat/frr.pam \
|
||||
redhat/frr.spec \
|
||||
\
|
||||
|
1
debian/frr.install
vendored
1
debian/frr.install
vendored
@ -1,6 +1,7 @@
|
||||
debian/frr.conf usr/lib/tmpfiles.d
|
||||
etc/
|
||||
tools/etc/frr/frr.conf etc/frr/
|
||||
tools/etc/logrotate.d/frr etc/logrotate.d/
|
||||
tools/frr-reload usr/lib/frr/
|
||||
usr/bin/mtracebis
|
||||
usr/bin/vtysh
|
||||
|
@ -469,7 +469,7 @@ ln -s %{_sbindir}/frrinit.sh %{buildroot}%{_initddir}/frr
|
||||
install %{zeb_src}/tools/etc/frr/daemons %{buildroot}%{_sysconfdir}/frr
|
||||
install %{zeb_src}/tools/etc/frr/frr.conf %{buildroot}%{_sysconfdir}/frr/frr.conf.template
|
||||
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 -m644 %{zeb_src}/tools/etc/logrotate.d/frr %{buildroot}%{_sysconfdir}/logrotate.d/frr
|
||||
install -d -m750 %{buildroot}%{rundir}
|
||||
|
||||
%if 0%{?rhel} > 7 || 0%{?fedora} > 29
|
||||
|
Loading…
Reference in New Issue
Block a user