package/dnsmasq: install D-Bus policy to datadir

Since D-Bus 1.14.0 installing default policies into sysconfdir (/etc)
is deprecated, they should go into datadir (/usr/share) instead
[1]. Follow that policy.

[1] 8f1e00427f/NEWS (L274-283)

Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fiona Klute (WIWA)
2024-12-05 16:01:13 +01:00
committed by Thomas Petazzoni
parent db86b18af5
commit a2be7aff30

View File

@@ -70,7 +70,7 @@ DNSMASQ_COPTS += -DHAVE_DBUS
define DNSMASQ_INSTALL_DBUS
$(INSTALL) -m 0644 -D $(@D)/dbus/dnsmasq.conf \
$(TARGET_DIR)/etc/dbus-1/system.d/dnsmasq.conf
$(TARGET_DIR)/usr/share/dbus-1/system.d/dnsmasq.conf
endef
endif