diff options
-rw-r--r-- | meta/recipes-extended/pam/libpam_1.5.1.bb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.5.1.bb b/meta/recipes-extended/pam/libpam_1.5.1.bb index 8c008a9701..d6612bb936 100644 --- a/meta/recipes-extended/pam/libpam_1.5.1.bb +++ b/meta/recipes-extended/pam/libpam_1.5.1.bb | |||
@@ -82,13 +82,6 @@ RRECOMMENDS_${PN} = "${PN}-runtime-${libpam_suffix}" | |||
82 | RRECOMMENDS_${PN}_class-native = "" | 82 | RRECOMMENDS_${PN}_class-native = "" |
83 | 83 | ||
84 | python populate_packages_prepend () { | 84 | python populate_packages_prepend () { |
85 | def pam_plugin_append_file(pn, dir, file): | ||
86 | nf = os.path.join(dir, file) | ||
87 | of = d.getVar('FILES_' + pn) | ||
88 | if of: | ||
89 | nf = of + " " + nf | ||
90 | d.setVar('FILES_' + pn, nf) | ||
91 | |||
92 | def pam_plugin_hook(file, pkg, pattern, format, basename): | 85 | def pam_plugin_hook(file, pkg, pattern, format, basename): |
93 | pn = d.getVar('PN') | 86 | pn = d.getVar('PN') |
94 | libpam_suffix = d.getVar('libpam_suffix') | 87 | libpam_suffix = d.getVar('libpam_suffix') |
@@ -116,13 +109,6 @@ python populate_packages_prepend () { | |||
116 | 109 | ||
117 | do_split_packages(d, pam_libdir, r'^pam(.*)\.so$', pam_pkgname, | 110 | do_split_packages(d, pam_libdir, r'^pam(.*)\.so$', pam_pkgname, |
118 | 'PAM plugin for %s', hook=pam_plugin_hook, extra_depends='') | 111 | 'PAM plugin for %s', hook=pam_plugin_hook, extra_depends='') |
119 | pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 'unix_chkpwd') | ||
120 | pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 'unix_update') | ||
121 | pam_plugin_append_file('%spam-plugin-tally' % mlprefix, pam_sbindir, 'pam_tally') | ||
122 | pam_plugin_append_file('%spam-plugin-tally2' % mlprefix, pam_sbindir, 'pam_tally2') | ||
123 | pam_plugin_append_file('%spam-plugin-timestamp' % mlprefix, pam_sbindir, 'pam_timestamp_check') | ||
124 | pam_plugin_append_file('%spam-plugin-mkhomedir' % mlprefix, pam_sbindir, 'mkhomedir_helper') | ||
125 | pam_plugin_append_file('%spam-plugin-console' % mlprefix, pam_sbindir, 'pam_console_apply') | ||
126 | do_split_packages(d, pam_filterdir, r'^(.*)$', 'pam-filter-%s', 'PAM filter for %s', extra_depends='') | 112 | do_split_packages(d, pam_filterdir, r'^(.*)$', 'pam-filter-%s', 'PAM filter for %s', extra_depends='') |
127 | } | 113 | } |
128 | 114 | ||