]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
dnsmasq: require busybox pidof applet 23132/head
authorIvan Romanov <drizt72@zoho.eu>
Mon, 27 Apr 2026 16:32:57 +0000 (21:32 +0500)
committerRobert Marko <robimarko@gmail.com>
Wed, 29 Apr 2026 08:09:20 +0000 (10:09 +0200)
The dnsmasq init script uses pidof, but BusyBox may be built
without it. Add a Kconfig dependency on BUSYBOX_CONFIG_PIDOF
to ensure the applet is available at runtime.

Signed-off-by: Ivan Romanov <drizt72@zoho.eu>
Link: https://github.com/openwrt/openwrt/pull/23132
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/services/dnsmasq/Makefile

index 5872a5344971ac502ef990f55fe0c94dc9aa44fc..3e98c621b5d507f718be9c7c437d4e405a9b0db0 100644 (file)
@@ -44,7 +44,7 @@ define Package/dnsmasq/Default
   CATEGORY:=Base system
   TITLE:=DNS and DHCP server
   URL:=http://www.thekelleys.org.uk/dnsmasq/
-  DEPENDS:=+libubus
+  DEPENDS:=+libubus +@BUSYBOX_CONFIG_PIDOF
   USERID:=dnsmasq=453:dnsmasq=453
 endef