From: Ivan Romanov Date: Mon, 27 Apr 2026 13:43:53 +0000 (+0500) Subject: dropbear: require busybox pidof applet X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=HEAD;p=thirdparty%2Fopenwrt.git dropbear: require busybox pidof applet 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 Link: https://github.com/openwrt/openwrt/pull/23128 Signed-off-by: Robert Marko --- diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile index 457f099fdda..dd493babc50 100644 --- a/package/network/services/dropbear/Makefile +++ b/package/network/services/dropbear/Makefile @@ -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,)