From: Michael Tremer Date: Sun, 11 Nov 2018 17:34:11 +0000 (+0000) Subject: shairport-sync: Add backup include file X-Git-Tag: v2.21-core126~54 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=63dc6532d12029bb7eaa766c346243f4d7ad5ea9 shairport-sync: Add backup include file Signed-off-by: Michael Tremer --- diff --git a/config/backup/includes/shairport-sync b/config/backup/includes/shairport-sync new file mode 100644 index 0000000000..dc92185f93 --- /dev/null +++ b/config/backup/includes/shairport-sync @@ -0,0 +1 @@ +etc/shairport-sync.conf diff --git a/config/rootfiles/packages/shairport-sync b/config/rootfiles/packages/shairport-sync index 98c0366e69..d7c2e11d6e 100644 --- a/config/rootfiles/packages/shairport-sync +++ b/config/rootfiles/packages/shairport-sync @@ -2,3 +2,4 @@ etc/shairport-sync.conf #etc/shairport-sync.conf.sample usr/bin/shairport-sync #usr/share/man/man7/shairport-sync.7 +var/ipfire/backup/addons/includes/shairport-sync diff --git a/lfs/shairport-sync b/lfs/shairport-sync index 2a1142c8a9..60fe4da879 100644 --- a/lfs/shairport-sync +++ b/lfs/shairport-sync @@ -86,5 +86,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --with-ssl=openssl cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install + + # Backup + install -v -m 644 $(DIR_SRC)/config/backup/includes/shairport-sync \ + /var/ipfire/backup/addons/includes/shairport-sync + @rm -rf $(DIR_APP) @$(POSTBUILD)