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_tar.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_tar.bbclass')
-rw-r--r-- | meta/classes/package_tar.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package_tar.bbclass b/meta/classes/package_tar.bbclass index f26a2c0008..201bd91657 100644 --- a/meta/classes/package_tar.bbclass +++ b/meta/classes/package_tar.bbclass | |||
@@ -69,7 +69,7 @@ python do_package_tar () { | |||
69 | if not overrides: | 69 | if not overrides: |
70 | raise bb.build.FuncFailed('OVERRIDES not defined') | 70 | raise bb.build.FuncFailed('OVERRIDES not defined') |
71 | overrides = bb.data.expand(overrides, localdata) | 71 | overrides = bb.data.expand(overrides, localdata) |
72 | bb.data.setVar('OVERRIDES', '%s:%s' % (overrides, pkg), localdata) | 72 | localdata.setVar('OVERRIDES', '%s:%s' % (overrides, pkg)) |
73 | 73 | ||
74 | bb.data.update_data(localdata) | 74 | bb.data.update_data(localdata) |
75 | 75 | ||
@@ -95,7 +95,7 @@ python () { | |||
95 | deps = (d.getVarFlag('do_package_write_tar', 'depends') or "").split() | 95 | deps = (d.getVarFlag('do_package_write_tar', 'depends') or "").split() |
96 | deps.append('tar-native:do_populate_sysroot') | 96 | deps.append('tar-native:do_populate_sysroot') |
97 | deps.append('virtual/fakeroot-native:do_populate_sysroot') | 97 | deps.append('virtual/fakeroot-native:do_populate_sysroot') |
98 | bb.data.setVarFlag('do_package_write_tar', 'depends', " ".join(deps), d) | 98 | d.setVarFlag('do_package_write_tar', 'depends', " ".join(deps)) |
99 | d.setVarFlag('do_package_write_ipk', 'fakeroot', "1") | 99 | d.setVarFlag('do_package_write_ipk', 'fakeroot', "1") |
100 | } | 100 | } |
101 | 101 | ||