From: Ondřej Surý Date: Fri, 3 Jul 2020 10:46:46 +0000 (+0200) Subject: Use dh_installinit capabilities to install frr.tmpfile X-Git-Tag: base_7.6~509 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=322c00824a6568114bf4948bf2b115a21bd85785;p=mirror%2Ffrr.git Use dh_installinit capabilities to install frr.tmpfile The debian/frr.conf was manually installed as systemd-tmpfiles configuration, but the dh_installinit now has capability to install it automatically if named debian/frr.tmpfile. Signed-off-by: Ondřej Surý --- diff --git a/debian/frr.conf b/debian/frr.conf deleted file mode 100644 index dee3cd849a..0000000000 --- a/debian/frr.conf +++ /dev/null @@ -1,2 +0,0 @@ -# Create the /run/frr directory at boot or from systemd-tmpfiles on install -d /run/frr 0755 frr frr diff --git a/debian/frr.install b/debian/frr.install index e2485fe8b8..de7a158839 100644 --- a/debian/frr.install +++ b/debian/frr.install @@ -17,4 +17,3 @@ usr/share/doc/frr/examples usr/share/man/ usr/share/yang/ tools/frr-reload usr/lib/frr/ -debian/frr.conf usr/lib/tmpfiles.d diff --git a/debian/frr.tmpfile b/debian/frr.tmpfile new file mode 100644 index 0000000000..dee3cd849a --- /dev/null +++ b/debian/frr.tmpfile @@ -0,0 +1,2 @@ +# Create the /run/frr directory at boot or from systemd-tmpfiles on install +d /run/frr 0755 frr frr