frr: Add backup include file
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 31 Oct 2018 09:30:20 +0000 (09:30 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 31 Oct 2018 09:30:44 +0000 (09:30 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/backup/includes/frr [new file with mode: 0644]
config/rootfiles/packages/frr
lfs/frr

diff --git a/config/backup/includes/frr b/config/backup/includes/frr
new file mode 100644 (file)
index 0000000..ca74d48
--- /dev/null
@@ -0,0 +1 @@
+/etc/frr
index 5db055d..8aafc7c 100644 (file)
@@ -126,3 +126,4 @@ usr/sbin/ssd
 usr/sbin/staticd
 usr/sbin/watchfrr
 usr/sbin/zebra
+var/ipfire/backup/addons/includes/frr
diff --git a/lfs/frr b/lfs/frr
index c90340f..a14dc59 100644 (file)
--- a/lfs/frr
+++ b/lfs/frr
@@ -102,6 +102,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
 
+       # Install backup include
+       install -v -m 644 $(DIR_SRC)/config/backup/includes/frr \
+                /var/ipfire/backup/addons/includes/frr
+
        # Install initscript
        $(call INSTALL_INITSCRIPT,frr)