]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
dropbear: require busybox pidof applet 23128/head
authorIvan Romanov <drizt72@zoho.eu>
Mon, 27 Apr 2026 13:43:53 +0000 (18:43 +0500)
committerRobert Marko <robimarko@gmail.com>
Wed, 29 Apr 2026 08:12:18 +0000 (10:12 +0200)
The dropbear 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/23128
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/services/dropbear/Makefile

index 457f099fdda02f2561c53766e6c3d0d39cc54dfd..dd493babc50dee04b61e70d75de3092f5b9e1ad0 100644 (file)
@@ -62,7 +62,7 @@ define Package/dropbear
   CATEGORY:=Base system
   TITLE:=Small SSH2 client/server
   MENU:=1
-  DEPENDS:= +USE_GLIBC:libcrypt-compat +DROPBEAR_ZLIB:zlib
+  DEPENDS:= +USE_GLIBC:libcrypt-compat +DROPBEAR_ZLIB:zlib +@BUSYBOX_CONFIG_PIDOF
   ALTERNATIVES:=100:/usr/bin/ssh-keygen:/usr/sbin/dropbear
   $(if $(CONFIG_DROPBEAR_SCP),ALTERNATIVES+= \
          100:/usr/bin/scp:/usr/sbin/dropbear,)