From: Ralf Glaser <glaser@iotmaxx.de>
To: ptxdist@pengutronix.de
Cc: Ralf Glaser <glaser@iotmaxx.de>
Subject: [ptxdist] [PATCH] dnsmasq: install dbus policy
Date: Fri, 13 Jun 2025 11:08:23 +0200 [thread overview]
Message-ID: <20250613090822.14111-2-glaser@iotmaxx.de> (raw)
Install dbus policy for dnsmasq. This was removed at some point for reasons unknown to me.
Signed-off-by: Ralf Glaser <glaser@iotmaxx.de>
---
rules/dnsmasq.make | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/rules/dnsmasq.make b/rules/dnsmasq.make
index 2c6262308..9e4300643 100644
--- a/rules/dnsmasq.make
+++ b/rules/dnsmasq.make
@@ -64,6 +64,8 @@ $(STATEDIR)/dnsmasq.install:
@$(call world/install, DNSMASQ)
@install -vD -m 644 "$(DNSMASQ_DIR)/dnsmasq.conf.example" \
"$(DNSMASQ_PKGDIR)/etc/dnsmasq.conf"
+ @install -vD -m 644 "$(DNSMASQ_DIR)/dbus/dnsmasq.conf" \
+ "$(DNSMASQ_PKGDIR)/usr/share/dbus-1/system.d/dnsmasq.conf"
@$(call touch)
# ----------------------------------------------------------------------------
@@ -109,6 +111,11 @@ ifdef PTXCONF_DNSMASQ_DHCP
endif
@$(call install_finish, dnsmasq)
+# install DBUS policy
+ifdef PTXCONF_DNSMASQ_DBUS
+ @$(call install_alternative, dnsmasq, 0, 0, 0644, /usr/share/dbus-1/system.d/dnsmasq.conf)
+endif
+
@$(call touch)
# vim: syntax=make
--
2.49.0
reply other threads:[~2025-06-13 9:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250613090822.14111-2-glaser@iotmaxx.de \
--to=glaser@iotmaxx.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox