nfs-utils: use rpcgen tool from HOSTTOOLS_DIR

nfs-utils configure searches for rpcgen tool only in default locations:
"/usr/local/bin/rpcgen /usr/bin/rpcgen /bin/rpcgen".
On some of our build machines the rpcgen is not present there and
configure fails:
| configure: error: Please install rpcgen or use --with-rpcgen

HOSTTOOLS_DIR already contains a correct pointer to host rpcgen tool, so
use it from there.

(From OE-Core rev: 2e0b4c99f5d49c84a3a2992fb686d27693f3d8c6)

Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Taras Kondratiuk
2020-07-10 10:41:16 -07:00
committed by Richard Purdie
parent ab8ebfd35a
commit 056dc6edbc

View File

@@ -56,6 +56,7 @@ EXTRA_OECONF = "--with-statduser=rpcuser \
--disable-gss \
--disable-nfsdcltrack \
--with-statdpath=/var/lib/nfs/statd \
--with-rpcgen=${HOSTTOOLS_DIR}/rpcgen \
"
PACKAGECONFIG ??= "tcp-wrappers \