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:14:04 +0100 |
commit | 8e47b28901e91f9f7ed15d2998ee8eb95b19835e (patch) | |
tree | f1b42be18bb610e23bd5d0b8a927db4389a77343 /meta | |
parent | eb6bf5347dd3e622906e2ea9c758d149b35a2863 (diff) | |
download | ast2050-yocto-poky-8e47b28901e91f9f7ed15d2998ee8eb95b19835e.zip ast2050-yocto-poky-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>
Diffstat (limited to 'meta')
-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 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" |