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>
This commit is contained in:
Wenzong Fan 2014-09-12 04:57:34 -04:00 committed by Richard Purdie
parent eb6bf5347d
commit 8e47b28901
1 changed files with 7 additions and 0 deletions

View File

@ -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"