Skip to contentSkip to conversation

nfs-utils: Add needed library to client

PATCH New Stéphane Veyret 1 participant 1 message Aug 26, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfs-utils: Add needed library to client

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.

---
 meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.3.bb +1 -0
index e703395cc4..35cf6af6d4 100644
@@ -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 \
Signature · 1 line
2.41.0