packagegroup-core-basic: libuser has a hard depenency on libpam
authorSaul Wold <sgw@linux.intel.com>
Tue, 15 Oct 2013 22:21:11 +0000 (15:21 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Oct 2013 14:49:59 +0000 (15:49 +0100)
Since libpam is only built when DISTRO_FEATURES pam is enabled we should
not be trying to build libuser also.

(From OE-Core rev: 5b3c2aac48dd060f20a3c65f15560996c35695fd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/packagegroups/packagegroup-core-basic.bb

index 2e6f576..55de32f 100644 (file)
@@ -107,7 +107,7 @@ RDEPENDS_packagegroup-core-initscripts = "\
 RDEPENDS_packagegroup-core-multiuser = "\
     cracklib \
     gzip \
-    libuser \
+    ${@base_contains('DISTRO_FEATURES', 'pam', 'libuser', '', d)} \
     shadow \
     sudo \
     "