summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2014-09-12 04:57:34 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-16 22:14:04 +0100
commit8e47b28901e91f9f7ed15d2998ee8eb95b19835e (patch)
treef1b42be18bb610e23bd5d0b8a927db4389a77343
parenteb6bf5347dd3e622906e2ea9c758d149b35a2863 (diff)
downloadpoky-8e47b28901e91f9f7ed15d2998ee8eb95b19835e.tar.gz
dropbear: add pam modules dependencies
If pam distro feature enabled, dropbear will need below pam rpms to work: * libpam-runtime * pam-plugin-deny * pam-plugin-permit * pam-plugin-unix Just add the runtime dependencies explicitly. (From OE-Core rev: dfbeb663e99f3280d055ec04454353f2082ced03) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/dropbear/dropbear.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc
index 9fec09e919..947a491679 100644
--- a/meta/recipes-core/dropbear/dropbear.inc
+++ b/meta/recipes-core/dropbear/dropbear.inc
@@ -27,6 +27,13 @@ PAM_SRC_URI = "file://0005-dropbear-enable-pam.patch \
27 file://0006-dropbear-configuration-file.patch \ 27 file://0006-dropbear-configuration-file.patch \
28 file://dropbear" 28 file://dropbear"
29 29
30PAM_PLUGINS = "libpam-runtime \
31 pam-plugin-deny \
32 pam-plugin-permit \
33 pam-plugin-unix \
34 "
35RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_PLUGINS}', '', d)}"
36
30inherit autotools update-rc.d systemd 37inherit autotools update-rc.d systemd
31 38
32INITSCRIPT_NAME = "dropbear" 39INITSCRIPT_NAME = "dropbear"