diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-03 11:21:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-05 10:23:53 -0800 |
commit | b1aeaa8b0dcf27ef8dcd87279901c6f5817d9e94 (patch) | |
tree | 62b315fdc05e03677922a0161fdc7a39e2985466 /meta/recipes-extended/pam | |
parent | 22f0df2aa737bda1ae3bce862ee5ceba5b2d204b (diff) | |
download | poky-b1aeaa8b0dcf27ef8dcd87279901c6f5817d9e94.tar.gz |
meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)
sed \
-e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data.expand *`
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.1.5.bb b/meta/recipes-extended/pam/libpam_1.1.5.bb index 8dd5ac5251..08ce1d13b3 100644 --- a/meta/recipes-extended/pam/libpam_1.1.5.bb +++ b/meta/recipes-extended/pam/libpam_1.1.5.bb | |||
@@ -61,9 +61,9 @@ python populate_packages_prepend () { | |||
61 | d.setVar('FILES_' + pn, nf) | 61 | d.setVar('FILES_' + pn, nf) |
62 | 62 | ||
63 | dvar = bb.data.expand('${WORKDIR}/package', d, True) | 63 | dvar = bb.data.expand('${WORKDIR}/package', d, True) |
64 | pam_libdir = bb.data.expand('${base_libdir}/security', d) | 64 | pam_libdir = d.expand('${base_libdir}/security') |
65 | pam_sbindir = bb.data.expand('${sbindir}', d) | 65 | pam_sbindir = d.expand('${sbindir}') |
66 | pam_filterdir = bb.data.expand('${base_libdir}/security/pam_filter', d) | 66 | pam_filterdir = d.expand('${base_libdir}/security/pam_filter') |
67 | 67 | ||
68 | do_split_packages(d, pam_libdir, '^pam(.*)\.so$', 'pam-plugin%s', 'PAM plugin for %s', extra_depends='') | 68 | do_split_packages(d, pam_libdir, '^pam(.*)\.so$', 'pam-plugin%s', 'PAM plugin for %s', extra_depends='') |
69 | pam_plugin_append_file('pam-plugin-unix', pam_sbindir, 'unix_chkpwd') | 69 | pam_plugin_append_file('pam-plugin-unix', pam_sbindir, 'unix_chkpwd') |