From: David Lamparter Date: Tue, 18 Dec 2018 01:21:18 +0000 (+0100) Subject: debian: fix dropping daemons.conf X-Git-Tag: frr-7.0~5^2~16 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=1ae2a5890807fa921da4dafd9e8835017db384ce;p=matthieu%2Ffrr.git debian: fix dropping daemons.conf Need to apply some manual control here, so remove it from frr.install and just do it in rules. Signed-off-by: David Lamparter --- diff --git a/debian/frr.install b/debian/frr.install index 744af9d6f4..ebb87a0b3e 100644 --- a/debian/frr.install +++ b/debian/frr.install @@ -1,4 +1,4 @@ -etc/frr/ +etc/ usr/bin/vtysh usr/bin/mtracebis usr/lib/*/frr/libfrr.* @@ -12,6 +12,5 @@ usr/lib/*/frr/modules/zebra_fpm.so usr/share/doc/frr/examples usr/share/man/ usr/share/yang/ -tools/etc/* etc/ tools/frr-reload usr/lib/frr/ debian/frr.conf usr/lib/tmpfiles.d diff --git a/debian/rules b/debian/rules index b831fafe46..a546f38d70 100755 --- a/debian/rules +++ b/debian/rules @@ -80,10 +80,12 @@ endif -rm -f debian/tmp/usr/lib/frr/frr # install config files - mkdir -p debian/tmp/etc/frr/ - sed -e 's#^!log file #!log file /var/log/frr/#' -i debian/tmp/usr/share/doc/frr/examples/*sample* + mkdir -p debian/tmp/etc + cp -r tools/etc/* debian/tmp/etc/ -rm debian/tmp/etc/frr/daemons.conf + sed -e 's#^!log file #!log file /var/log/frr/#' -i debian/tmp/usr/share/doc/frr/examples/*sample* + # drop dev-only files find debian/tmp -name '*.la' -o -name '*.a' -o -name 'lib*.so' | xargs rm -f rm -rf debian/tmp/usr/include