From: Rucke Teg Date: Thu, 10 Feb 2022 22:04:43 +0000 (+0100) Subject: openssh-server: manually set path to passwd binary X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=f2a8fc48c5eaef165daa76225230c1e9caff0ece;p=openwrt-packages.git openssh-server: manually set path to passwd binary In the build environment the autotools finds the `passwd` binary in /usr/bin. But in the target image it is available under /bin instead. Manually set the path to `passwd` binary to `/bin/passwd` Signed-off-by: Rucke Teg --- diff --git a/net/openssh/Makefile b/net/openssh/Makefile index d384a2052..6ba72bf70 100644 --- a/net/openssh/Makefile +++ b/net/openssh/Makefile @@ -183,7 +183,7 @@ CONFIGURE_ARGS += \ --without-pam endif -CONFIGURE_VARS += LD="$(TARGET_CC)" +CONFIGURE_VARS += LD="$(TARGET_CC)" PATH_PASSWD_PROG="/bin/passwd" ifeq ($(BUILD_VARIANT),with-pam) TARGET_LDFLAGS += -lpthread