There's no need to sed the Makefiles as there's an option to simply
respect sbindir.

Signed-off-by: Ross Burton <[email protected]>
---
 meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.2.bb | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.2.bb 
b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.2.bb
index ff02a3aea01..4683939bff5 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.2.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.2.bb
@@ -60,6 +60,7 @@ EXTRA_OECONF = "--with-statduser=rpcuser \
                 --disable-nfsdcltrack \
                 --with-statdpath=/var/lib/nfs/statd \
                 --with-rpcgen=${HOSTTOOLS_DIR}/rpcgen \
+                --disable-sbin-override \
                "
 
 LDFLAGS += "-lsqlite3 -levent"
@@ -107,11 +108,6 @@ FILES:${PN}-staticdev += "${libdir}/libnfsidmap/*.a"
 
 FILES:${PN} += "${systemd_unitdir} ${libdir}/libnfsidmap/ 
${nonarch_libdir}/modprobe.d"
 
-do_configure:prepend() {
-       sed -i -e 's,sbindir = /sbin,sbindir = ${base_sbindir},g' \
-               ${S}/utils/mount/Makefile.am
-}
-
 # Make clean needed because the package comes with
 # precompiled 64-bit objects that break the build
 do_compile:prepend() {
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#210936): 
https://lists.openembedded.org/g/openembedded-core/message/210936
Mute This Topic: https://lists.openembedded.org/mt/111031422/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to