diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-25 14:25:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-27 10:25:34 +0000 |
commit | 0a434ac10158e2011d41a1189e65e9474b1672be (patch) | |
tree | 6171516b25cb337343a6373e34aec0d061e4f5e8 /meta/classes/package_deb.bbclass | |
parent | 71fded5145454b144413057e11f78f718d947093 (diff) | |
download | poky-0a434ac10158e2011d41a1189e65e9474b1672be.tar.gz |
getVar/setVar cleanups
Complete the bb.data.getVar/setVar replacements with accesses
directly to the data store object.
(From OE-Core rev: 2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r-- | meta/classes/package_deb.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 71e46a8c8e..fc28ee1e2d 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass | |||
@@ -11,7 +11,7 @@ DPKG_ARCH ?= "${TARGET_ARCH}" | |||
11 | PKGWRITEDIRDEB = "${WORKDIR}/deploy-debs" | 11 | PKGWRITEDIRDEB = "${WORKDIR}/deploy-debs" |
12 | 12 | ||
13 | python package_deb_fn () { | 13 | python package_deb_fn () { |
14 | bb.data.setVar('PKGFN', d.getVar('PKG'), d) | 14 | d.setVar('PKGFN', d.getVar('PKG')) |
15 | } | 15 | } |
16 | 16 | ||
17 | addtask package_deb_install | 17 | addtask package_deb_install |
@@ -409,7 +409,7 @@ python () { | |||
409 | deps = (d.getVarFlag('do_package_write_deb', 'depends') or "").split() | 409 | deps = (d.getVarFlag('do_package_write_deb', 'depends') or "").split() |
410 | deps.append('dpkg-native:do_populate_sysroot') | 410 | deps.append('dpkg-native:do_populate_sysroot') |
411 | deps.append('virtual/fakeroot-native:do_populate_sysroot') | 411 | deps.append('virtual/fakeroot-native:do_populate_sysroot') |
412 | bb.data.setVarFlag('do_package_write_deb', 'depends', " ".join(deps), d) | 412 | d.setVarFlag('do_package_write_deb', 'depends', " ".join(deps)) |
413 | d.setVarFlag('do_package_write_deb', 'fakeroot', "1") | 413 | d.setVarFlag('do_package_write_deb', 'fakeroot', "1") |
414 | d.setVarFlag('do_package_write_deb_setscene', 'fakeroot', "1") | 414 | d.setVarFlag('do_package_write_deb_setscene', 'fakeroot', "1") |
415 | 415 | ||