diff options
author | Taras Kondratiuk <takondra@cisco.com> | 2020-07-10 10:41:16 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-12 22:39:41 +0100 |
commit | 056dc6edbcb4ad0d70ea60bb375b58200dbc7b80 (patch) | |
tree | 960cf99d909d00425e27bdc59a590b10c8684959 /meta/recipes-connectivity | |
parent | ab8ebfd35a7bbfec3dad612c824b29ca93dbe196 (diff) | |
download | poky-056dc6edbcb4ad0d70ea60bb375b58200dbc7b80.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.
(From OE-Core rev: 2e0b4c99f5d49c84a3a2992fb686d27693f3d8c6)
Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.1.bb | 1 |
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 \ | |||
56 | --disable-gss \ | 56 | --disable-gss \ |
57 | --disable-nfsdcltrack \ | 57 | --disable-nfsdcltrack \ |
58 | --with-statdpath=/var/lib/nfs/statd \ | 58 | --with-statdpath=/var/lib/nfs/statd \ |
59 | --with-rpcgen=${HOSTTOOLS_DIR}/rpcgen \ | ||
59 | " | 60 | " |
60 | 61 | ||
61 | PACKAGECONFIG ??= "tcp-wrappers \ | 62 | PACKAGECONFIG ??= "tcp-wrappers \ |