]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
nfs-utils: Add needed library to client
authorStéphane Veyret <sveyret@gmail.com>
Sat, 26 Aug 2023 22:23:07 +0000 (00:23 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Aug 2023 08:56:10 +0000 (09:56 +0100)
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 <sveyret@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.3.bb

index e703395cc4f7bcad9c467a0cd812d6d1739a32cc..35cf6af6d46396e58b5483d2a9c8b013513016eb 100644 (file)
@@ -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 \