mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-04 17:36:12 +02:00
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 <drizt72@zoho.eu> Link: https://github.com/openwrt/openwrt/pull/23128 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
148830a11d
commit
a6a865e533
@ -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,)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user