diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-11 17:33:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-19 10:24:50 +0100 |
commit | bfd279de3275abbfaf3e630383ec244131e0375f (patch) | |
tree | 0d1c90461a890d21444f5d2afb13c52b302427f1 /meta/recipes-extended/pam | |
parent | 99203edda6f0b09d817454d656c100b7a8806b18 (diff) | |
download | poky-bfd279de3275abbfaf3e630383ec244131e0375f.tar.gz |
Convert tab indentation in python functions into four-space
(From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/pam')
-rw-r--r-- | meta/recipes-extended/pam/libpam_1.1.5.bb | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.1.5.bb b/meta/recipes-extended/pam/libpam_1.1.5.bb index 275e5d8424..9274ed3832 100644 --- a/meta/recipes-extended/pam/libpam_1.1.5.bb +++ b/meta/recipes-extended/pam/libpam_1.1.5.bb | |||
@@ -53,28 +53,28 @@ RDEPENDS_${PN}-xtests = "libpam pam-plugin-access pam-plugin-debug pam-plugin-cr | |||
53 | RRECOMMENDS_${PN} = "libpam-runtime" | 53 | RRECOMMENDS_${PN} = "libpam-runtime" |
54 | 54 | ||
55 | python populate_packages_prepend () { | 55 | python populate_packages_prepend () { |
56 | import os.path | 56 | import os.path |
57 | 57 | ||
58 | def pam_plugin_append_file(pn, dir, file): | 58 | def pam_plugin_append_file(pn, dir, file): |
59 | nf = os.path.join(dir, file) | 59 | nf = os.path.join(dir, file) |
60 | of = d.getVar('FILES_' + pn, True) | 60 | of = d.getVar('FILES_' + pn, True) |
61 | if of: | 61 | if of: |
62 | nf = of + " " + nf | 62 | nf = of + " " + nf |
63 | d.setVar('FILES_' + pn, nf) | 63 | d.setVar('FILES_' + pn, nf) |
64 | 64 | ||
65 | dvar = bb.data.expand('${WORKDIR}/package', d, True) | 65 | dvar = bb.data.expand('${WORKDIR}/package', d, True) |
66 | pam_libdir = d.expand('${base_libdir}/security') | 66 | pam_libdir = d.expand('${base_libdir}/security') |
67 | pam_sbindir = d.expand('${sbindir}') | 67 | pam_sbindir = d.expand('${sbindir}') |
68 | pam_filterdir = d.expand('${base_libdir}/security/pam_filter') | 68 | pam_filterdir = d.expand('${base_libdir}/security/pam_filter') |
69 | 69 | ||
70 | do_split_packages(d, pam_libdir, '^pam(.*)\.so$', 'pam-plugin%s', 'PAM plugin for %s', extra_depends='') | 70 | do_split_packages(d, pam_libdir, '^pam(.*)\.so$', 'pam-plugin%s', 'PAM plugin for %s', extra_depends='') |
71 | pam_plugin_append_file('pam-plugin-unix', pam_sbindir, 'unix_chkpwd') | 71 | pam_plugin_append_file('pam-plugin-unix', pam_sbindir, 'unix_chkpwd') |
72 | pam_plugin_append_file('pam-plugin-unix', pam_sbindir, 'unix_update') | 72 | pam_plugin_append_file('pam-plugin-unix', pam_sbindir, 'unix_update') |
73 | pam_plugin_append_file('pam-plugin-tally', pam_sbindir, 'pam_tally') | 73 | pam_plugin_append_file('pam-plugin-tally', pam_sbindir, 'pam_tally') |
74 | pam_plugin_append_file('pam-plugin-tally2', pam_sbindir, 'pam_tally2') | 74 | pam_plugin_append_file('pam-plugin-tally2', pam_sbindir, 'pam_tally2') |
75 | pam_plugin_append_file('pam-plugin-timestamp', pam_sbindir, 'pam_timestamp_check') | 75 | pam_plugin_append_file('pam-plugin-timestamp', pam_sbindir, 'pam_timestamp_check') |
76 | pam_plugin_append_file('pam-plugin-mkhomedir', pam_sbindir, 'mkhomedir_helper') | 76 | pam_plugin_append_file('pam-plugin-mkhomedir', pam_sbindir, 'mkhomedir_helper') |
77 | do_split_packages(d, pam_filterdir, '^(.*)$', 'pam-filter-%s', 'PAM filter for %s', extra_depends='') | 77 | do_split_packages(d, pam_filterdir, '^(.*)$', 'pam-filter-%s', 'PAM filter for %s', extra_depends='') |
78 | } | 78 | } |
79 | 79 | ||
80 | do_install() { | 80 | do_install() { |