generic-poky/meta/recipes-extended/images/core-image-lsb.bb
Cristian Iorga f4dc1e5686 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>
2014-04-01 23:37:01 +01:00

15 lines
399 B
BlitzBasic

DESCRIPTION = "An image containing packages that are required to conform \
to the Linux Standard Base (LSB) specification."
IMAGE_FEATURES += "splash ssh-server-openssh hwcodecs package-management"
IMAGE_INSTALL = "\
${CORE_IMAGE_BASE_INSTALL} \
packagegroup-core-full-cmdline \
packagegroup-core-lsb \
"
inherit core-image distro_features_check
REQUIRED_DISTRO_FEATURES = "pam"