summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaras Kondratiuk <takondra@cisco.com>2020-07-10 10:41:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-12 22:39:38 +0100
commit2e0b4c99f5d49c84a3a2992fb686d27693f3d8c6 (patch)
tree859d6c72c6bfe8d5cf9b848b76956445a80a55e9
parent9b4bf667bac49131cee382f2f346fc054d5f28b9 (diff)
downloadopenembedded-core-contrib-2e0b4c99f5d49c84a3a2992fb686d27693f3d8c6.tar.gz
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. Signed-off-by: Taras Kondratiuk <takondra@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.1.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.1.bb
index 188a8893b4..b8ad23a0d8 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.1.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.1.bb
@@ -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 \