mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 21:32:12 +02:00
libpam: remove unused code
from commit b0384720a4,
which upgrade libpam to 1.5.1, packaging is adjustd,
and the binary is packaged into libpam-runtime, so we
don't need to append them to pam-plugin-xxx.
(From OE-Core rev: 7b5a53152c0213f5efcf39c2442bb3b630f8cc09)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
21eb51e2a8
commit
e5b5c38a76
@@ -82,13 +82,6 @@ RRECOMMENDS_${PN} = "${PN}-runtime-${libpam_suffix}"
|
||||
RRECOMMENDS_${PN}_class-native = ""
|
||||
|
||||
python populate_packages_prepend () {
|
||||
def pam_plugin_append_file(pn, dir, file):
|
||||
nf = os.path.join(dir, file)
|
||||
of = d.getVar('FILES_' + pn)
|
||||
if of:
|
||||
nf = of + " " + nf
|
||||
d.setVar('FILES_' + pn, nf)
|
||||
|
||||
def pam_plugin_hook(file, pkg, pattern, format, basename):
|
||||
pn = d.getVar('PN')
|
||||
libpam_suffix = d.getVar('libpam_suffix')
|
||||
@@ -116,13 +109,6 @@ python populate_packages_prepend () {
|
||||
|
||||
do_split_packages(d, pam_libdir, r'^pam(.*)\.so$', pam_pkgname,
|
||||
'PAM plugin for %s', hook=pam_plugin_hook, extra_depends='')
|
||||
pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 'unix_chkpwd')
|
||||
pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 'unix_update')
|
||||
pam_plugin_append_file('%spam-plugin-tally' % mlprefix, pam_sbindir, 'pam_tally')
|
||||
pam_plugin_append_file('%spam-plugin-tally2' % mlprefix, pam_sbindir, 'pam_tally2')
|
||||
pam_plugin_append_file('%spam-plugin-timestamp' % mlprefix, pam_sbindir, 'pam_timestamp_check')
|
||||
pam_plugin_append_file('%spam-plugin-mkhomedir' % mlprefix, pam_sbindir, 'mkhomedir_helper')
|
||||
pam_plugin_append_file('%spam-plugin-console' % mlprefix, pam_sbindir, 'pam_console_apply')
|
||||
do_split_packages(d, pam_filterdir, r'^(.*)$', 'pam-filter-%s', 'PAM filter for %s', extra_depends='')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user