* [ptxdist] [PATCH] dnsmasq: install dbus policy
@ 2025-06-13 9:08 Ralf Glaser
2025-06-27 12:06 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Ralf Glaser @ 2025-06-13 9:08 UTC (permalink / raw)
To: ptxdist; +Cc: Ralf Glaser
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [PATCH] dnsmasq: install dbus policy
2025-06-13 9:08 [ptxdist] [PATCH] dnsmasq: install dbus policy Ralf Glaser
@ 2025-06-27 12:06 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2025-06-27 12:06 UTC (permalink / raw)
To: Ralf Glaser; +Cc: ptxdist
On Fri, Jun 13, 2025 at 11:08:23AM +0200, Ralf Glaser wrote:
> 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
> +
This must be added before the install_finish.
Michael
> @$(call touch)
>
> # vim: syntax=make
> --
> 2.49.0
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-27 12:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-13 9:08 [ptxdist] [PATCH] dnsmasq: install dbus policy Ralf Glaser
2025-06-27 12:06 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox