diff options
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 | ||