From 1f361b26e8cbe5686d2a570b6cd9eeb4a7e684fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aur=C3=A9lien=20Chabot?= Date: Tue, 24 Feb 2015 00:39:23 +0100 Subject: [PATCH] minidlna: install the config file on the target MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Chabot Signed-off-by: Thomas Petazzoni --- package/minidlna/minidlna.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/minidlna/minidlna.mk b/package/minidlna/minidlna.mk index 1ff76e3945..7adb832f88 100644 --- a/package/minidlna/minidlna.mk +++ b/package/minidlna/minidlna.mk @@ -24,6 +24,12 @@ MINIDLNA_CONF_OPTS = \ --disable-static endif +define MINIDLNA_INSTALL_CONF + $(INSTALL) -D -m 644 $(@D)/minidlna.conf $(TARGET_DIR)/etc/minidlna.conf +endef + +MINIDLNA_POST_INSTALL_TARGET_HOOKS += MINIDLNA_INSTALL_CONF + define MINIDLNA_INSTALL_INIT_SYSV $(INSTALL) -D -m 0755 package/minidlna/S60minidlnad \ $(TARGET_DIR)/etc/init.d/S60minidlnad -- 2.30.2