summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pam/libpam_1.1.6.bb
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-06-20 17:38:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-25 17:44:55 +0100
commit763ebb62cd154d6435dc1f5eaf6534b3911c9ebc (patch)
tree1a0ed6dcc85a5acf242edcb0deacfc4998df1005 /meta/recipes-extended/pam/libpam_1.1.6.bb
parent105cbfa793567bffceae9044d000b05160aa07ed (diff)
downloadpoky-763ebb62cd154d6435dc1f5eaf6534b3911c9ebc.tar.gz
libpam: check if PAM is enabled when building
(From OE-Core rev: fd9bad3e48a605e9fd28c129413300ff6b548788) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/pam/libpam_1.1.6.bb')
-rw-r--r--meta/recipes-extended/pam/libpam_1.1.6.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.1.6.bb b/meta/recipes-extended/pam/libpam_1.1.6.bb
index 96133c361b..f811f4ce0f 100644
--- a/meta/recipes-extended/pam/libpam_1.1.6.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.6.bb
@@ -99,3 +99,9 @@ do_install() {
99 # The lsb requires unix_chkpwd has setuid permission 99 # The lsb requires unix_chkpwd has setuid permission
100 chmod 4755 ${D}${sbindir}/unix_chkpwd 100 chmod 4755 ${D}${sbindir}/unix_chkpwd
101} 101}
102
103python do_pam_sanity () {
104 if "pam" not in d.getVar("DISTRO_FEATURES", True).split():
105 bb.warn("Building libpam but 'pam' isn't in DISTRO_FEATURES, PAM won't work correctly")
106}
107addtask pam_sanity before do_configure