]> code.ossystems Code Review - openembedded-core.git/commitdiff
nfs-utils: use rpcgen tool from HOSTTOOLS_DIR
authorTaras Kondratiuk <takondra@cisco.com>
Fri, 10 Jul 2020 17:41:16 +0000 (10:41 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Jul 2020 21:39:38 +0000 (22:39 +0100)
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.

Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.1.bb

index 188a8893b46f054382a3e685385b3f49291381f4..b8ad23a0d814ad045ec8ae958d3a962cdee755c7 100644 (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 \