diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2014-09-12 04:57:34 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-16 22:12:30 +0100 |
commit | dfbeb663e99f3280d055ec04454353f2082ced03 (patch) | |
tree | f485a4069d66c91492954e2830dbab5ecb20aa32 | |
parent | 09610d6cdda95e964a7565b13eb35a26ae652aa9 (diff) | |
download | openembedded-core-contrib-dfbeb663e99f3280d055ec04454353f2082ced03.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.
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/recipes-core/dropbear/dropbear.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc index 9fec09e9195..947a4916790 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" |