The nfs-utils recipe creates a nfs-utils-client package, which can be
used if we need to install only the client side of nfs-utils.
Unfortunately, rpc.idmapd is part of this package, and requires the
dynamic library libnfsidmap.so, which is included in the main package
nfs-utils. Therefore, nfs-utils-client has a dependency on nfs-utils, so
the server is installed, and try to be started, even on system where the
appropriate modules are not present, which causes errors.

This patch adds the needed library to the nfs-utils-client package, so
that it is now complete and does not require nfs-utils anymore.

Signed-off-by: Stéphane Veyret <svey...@gmail.com>
---
 meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.3.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.3.bb 
b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.3.bb
index e703395cc4..35cf6af6d4 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.3.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.3.bb
@@ -84,6 +84,7 @@ CONFFILES:${PN}-client += "${localstatedir}/lib/nfs/etab \
                           ${sysconfdir}/nfsmount.conf"
 
 FILES:${PN}-client = "${sbindir}/*statd \
+                     ${libdir}/libnfsidmap.so.* \
                      ${sbindir}/rpc.idmapd ${sbindir}/sm-notify \
                      ${sbindir}/showmount ${sbindir}/nfsstat \
                      ${localstatedir}/lib/nfs \
-- 
2.41.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186766): 
https://lists.openembedded.org/g/openembedded-core/message/186766
Mute This Topic: https://lists.openembedded.org/mt/100981876/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to