dnsmasq: install DBus configuration file
PATCH v3 1/1 dnsmasq: install DBus configuration file
Signed-off-by Yegor Yefremov <[email protected]>
---
Changes:
v3: change file permissions
v2: fix indentation
package/dnsmasq/dnsmasq.mk | 8 ++++++++ 1 file changed, 8 insertions(+)
package/dnsmasq/dnsmasq.mk +8 -0
@@ -101,9 +101,17 @@ define DNSMASQ_BUILD_CMDS $(DNSMASQ_MAKE_ENV) $(MAKE1) -C $(@D) $(DNSMASQ_MAKE_OPTS) all$(DNSMASQ_I18N) endef +ifeq ($(BR2_PACKAGE_DBUS),y) +define DNSMASQ_INSTALL_DBUS + $(INSTALL) -m 0644 -D $(@D)/dbus/dnsmasq.conf \ + $(TARGET_DIR)/etc/dbus-1/system.d/dnsmasq.conf +endef +endif + define DNSMASQ_INSTALL_TARGET_CMDS $(DNSMASQ_MAKE_ENV) $(MAKE) -C $(@D) $(DNSMASQ_MAKE_OPTS) install$(DNSMASQ_I18N) mkdir -p $(TARGET_DIR)/var/lib/misc/ + $(DNSMASQ_INSTALL_DBUS) endef define DNSMASQ_INSTALL_INIT_SYSV
Signature · 1 line
1.8.3.2
Thomas Petazzoni
AppliedPATCH v3 1/1 dnsmasq: install DBus configuration file
Dear Yegor Yefremov,
Quoted 1 line · Yegor Yefremov
Signed-off-by Yegor Yefremov <[email protected]>
Applied, thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com