From: Wenzong Fan Date: Fri, 12 Sep 2014 08:57:34 +0000 (-0400) Subject: dropbear: add pam modules dependencies X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~32391 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfbeb663e99f3280d055ec04454353f2082ced03;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton --- 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"