avahi: Install backup definition - bug#12714
Commit Message
- Addition of backup definition install into lfs file
- Update of rootfile
Fixes: 12714
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/rootfiles/packages/avahi | 1 +
lfs/avahi | 8 ++++++--
2 files changed, 7 insertions(+), 2 deletions(-)
Comments
Looks good to me.
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
> - Addition of backup definition install into lfs file
> - Update of rootfile
>
> Fixes: 12714
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
> config/rootfiles/packages/avahi | 1 +
> lfs/avahi | 8 ++++++--
> 2 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/config/rootfiles/packages/avahi b/config/rootfiles/packages/avahi
> index e6ab0c0ff..0a88be7f0 100644
> --- a/config/rootfiles/packages/avahi
> +++ b/config/rootfiles/packages/avahi
> @@ -175,3 +175,4 @@ usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceTypeBrowser.xml
> #usr/share/man/man8/avahi-daemon.8
> #usr/share/man/man8/avahi-dnsconfd.8
> #usr/share/man/man8/avahi-dnsconfd.action.8
> +var/ipfire/backup/addons/includes/avahi
> diff --git a/lfs/avahi b/lfs/avahi
> index ae166a88c..795ba4130 100644
> --- a/lfs/avahi
> +++ b/lfs/avahi
> @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
> DIR_APP = $(DIR_SRC)/$(THISAPP)
> TARGET = $(DIR_INFO)/$(THISAPP)
> PROG = avahi
> -PAK_VER = 8
> +PAK_VER = 9
>
> DEPS = dbus libdaemon
>
> @@ -102,6 +102,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>
> # Install initscript
> $(call INSTALL_INITSCRIPT,avahi)
> -
> +
> + #install backup definition
> + install -v -m 644 ${DIR_SRC}/config/backup/includes/avahi \
> + /var/ipfire/backup/addons/includes/avahi
> +
> @rm -rf $(DIR_APP)
> @$(POSTBUILD)
>
@@ -175,3 +175,4 @@ usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceTypeBrowser.xml
#usr/share/man/man8/avahi-daemon.8
#usr/share/man/man8/avahi-dnsconfd.8
#usr/share/man/man8/avahi-dnsconfd.action.8
+var/ipfire/backup/addons/includes/avahi
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = avahi
-PAK_VER = 8
+PAK_VER = 9
DEPS = dbus libdaemon
@@ -102,6 +102,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# Install initscript
$(call INSTALL_INITSCRIPT,avahi)
-
+
+ #install backup definition
+ install -v -m 644 ${DIR_SRC}/config/backup/includes/avahi \
+ /var/ipfire/backup/addons/includes/avahi
+
@rm -rf $(DIR_APP)
@$(POSTBUILD)