Skip to contentSkip to conversation

packagegroup-core-full-cmdline: Make nfs-utils/rpcbind optional

PATCH New Oliver Stäbler 1 participant 1 message May 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup-core-full-cmdline: Make nfs-utils/rpcbind optional

Consider DISTRO_FEATURES for nfs-utils and rpcbind. This is to prevent the following warning while booting:
NFS daemon support not enabled in kernel

---
 .../packagegroups/packagegroup-core-full-cmdline.bb            | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb +1 -2
index ec67f8d123..d38f545e06 100644
@@ -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)} \
     "
Signature · 1 line
2.21.0