diff mbox series

nfs-utils/bitbake.conf: Drop rpcgen from HOSTTOOLS

Message ID 20261129160136.2845368-1-richard.purdie@linuxfoundation.org
State New
Headers show
Series nfs-utils/bitbake.conf: Drop rpcgen from HOSTTOOLS | expand

Commit Message

Richard Purdie Nov. 29, 2026, 4:01 p.m. UTC
rpggen can be built and provided by rpcsvc-proto-native so we no longer
need to have it from the host (where it used to be part of glibc).

Drop from HOSTTOOLS, add a DEPENDS and switch to using it form the
native sysroot.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/conf/bitbake.conf                                 | 2 +-
 meta/recipes-connectivity/nfs-utils/nfs-utils_3.2.1.bb | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 3860383fca2..53f027abe6c 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -535,7 +535,7 @@  HOSTTOOLS += " \
     fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \
     head hostname iconv id install ld ldd ln ls make md5sum mkdir mkfifo mknod \
     mktemp mv nm objcopy objdump od patch perl pr printf pwd \
-    python3 pzstd ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh \
+    python3 pzstd ranlib readelf readlink realpath rm rmdir sed seq sh \
     sha1sum sha224sum sha256sum sha384sum sha512sum \
     sleep sort split stat strings strip tail tar tee test timeout touch tr true truncate uname \
     uniq unzstd wc wget which xargs zstd xz \
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_3.2.1.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_3.2.1.bb
index 63d68d63769..dbbd93eeda6 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_3.2.1.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_3.2.1.bb
@@ -8,7 +8,7 @@  LICENSE = "BSD-3-Clause AND GPL-2.0-or-later AND MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=95f3a93a5c3c7888de623b46ea085a84"
 
 # util-linux for libblkid
-DEPENDS = "libcap libevent util-linux sqlite3 libtirpc libxml2 libnl"
+DEPENDS = "libcap libevent util-linux sqlite3 libtirpc libxml2 libnl rpcsvc-proto-native"
 RDEPENDS:${PN} = "netbase ${PN}-client"
 RRECOMMENDS:${PN} = "kernel-module-nfsd"
 
@@ -49,7 +49,7 @@  EXTRA_OECONF = "--with-statduser=rpcuser \
                 --enable-uuid \
                 --with-statdpath=/var/lib/nfs/statd \
                 --with-pluginpath=${libdir}/libnfsidmap \
-                --with-rpcgen=${HOSTTOOLS_DIR}/rpcgen \
+                --with-rpcgen=${STAGING_BINDIR_NATIVE}/rpcgen \
                "
 
 LDFLAGS += "-lsqlite3 -levent"