[oe-commits] Cristian Iorga : core-image-lsb: enforce pam as a needed distro feature
git at git.openembedded.org
git at git.openembedded.org
Tue Apr 1 22:28:52 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: f7cd6b383f50ebc3000a9d9db8be719ab5b3c0bb
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f7cd6b383f50ebc3000a9d9db8be719ab5b3c0bb
Author: Cristian Iorga <cristian.iorga at intel.com>
Date: Mon Mar 31 12:51:21 2014 +0300
core-image-lsb: enforce pam as a needed distro feature
core-image-lsb only gave a warning:
"WARNING: Building libpam but 'pam' isn't in DISTRO_FEATURES,
PAM won't work correctly"
when the proper DISTRO was not set for it.
default choice would be DISTRO = "poky-lsb",
but not necessarily, depending on each custom distro.
This fix will enforce the proper usage of pam
as a distro feature for core-image-lsb by giving
an error instead of just a warning.
Fixes [YOCTO #6073]
Signed-off-by: Cristian Iorga <cristian.iorga at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-extended/images/core-image-lsb.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-extended/images/core-image-lsb.bb b/meta/recipes-extended/images/core-image-lsb.bb
index ed316a6..ab61c6e 100644
--- a/meta/recipes-extended/images/core-image-lsb.bb
+++ b/meta/recipes-extended/images/core-image-lsb.bb
@@ -9,4 +9,6 @@ IMAGE_INSTALL = "\
packagegroup-core-lsb \
"
-inherit core-image
+inherit core-image distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "pam"
More information about the Openembedded-commits
mailing list