diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2014-03-31 12:51:21 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-01 23:37:01 +0100 |
commit | f4dc1e568636f7bfe216f4fb1386bbed4ee305af (patch) | |
tree | 9bde6db5d4716e8fb2faefc8a2bf7470e9127e66 /meta | |
parent | 1588b02d14e4ce2971ea0bbfb77d6d8607df9825 (diff) | |
download | poky-f4dc1e568636f7bfe216f4fb1386bbed4ee305af.tar.gz |
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]
(From OE-Core rev: f7cd6b383f50ebc3000a9d9db8be719ab5b3c0bb)
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/images/core-image-lsb.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-extended/images/core-image-lsb.bb b/meta/recipes-extended/images/core-image-lsb.bb index ed316a64e7..ab61c6e6df 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 = "\ | |||
9 | packagegroup-core-lsb \ | 9 | packagegroup-core-lsb \ |
10 | " | 10 | " |
11 | 11 | ||
12 | inherit core-image | 12 | inherit core-image distro_features_check |
13 | |||
14 | REQUIRED_DISTRO_FEATURES = "pam" | ||