[oe-commits] Wenzong Fan : dropbear: add pam modules dependencies
git at git.openembedded.org
git at git.openembedded.org
Tue Sep 16 21:15:55 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: dfbeb663e99f3280d055ec04454353f2082ced03
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=dfbeb663e99f3280d055ec04454353f2082ced03
Author: Wenzong Fan <wenzong.fan at windriver.com>
Date: Fri Sep 12 04:57:34 2014 -0400
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.
Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-core/dropbear/dropbear.inc | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc
index 9fec09e..947a491 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 \
file://0006-dropbear-configuration-file.patch \
file://dropbear"
+PAM_PLUGINS = "libpam-runtime \
+ pam-plugin-deny \
+ pam-plugin-permit \
+ pam-plugin-unix \
+ "
+RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_PLUGINS}', '', d)}"
+
inherit autotools update-rc.d systemd
INITSCRIPT_NAME = "dropbear"
More information about the Openembedded-commits
mailing list