]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
packagegroup-core-full-cmdline: Make nfs-utils/rpcbind optional
authorOliver Stäbler <oliver.staebler@bytesatwork.ch>
Tue, 28 May 2019 08:36:30 +0000 (10:36 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 May 2019 11:34:56 +0000 (12:34 +0100)
Consider DISTRO_FEATURES for nfs-utils and rpcbind.
This is to prevent the following warning while booting:
NFS daemon support not enabled in kernel

Signed-off-by: Oliver Stäbler <oliver.staebler@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb

index ec67f8d123e731b6695d6de6e7415be83d44c958..d38f545e06fd4531c6e729c5837ba097a5bb0622 100644 (file)
@@ -135,6 +135,5 @@ RDEPENDS_packagegroup-core-full-cmdline-sys-services = "\
     at \
     cronie \
     logrotate \
-    nfs-utils \
-    rpcbind \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'nfs', 'nfs-utils rpcbind', '', d)} \
     "