diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-07-01 16:14:21 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-07-01 16:14:21 +0100 |
commit | 3abe7a0624e1215124799f97c872682a98659760 (patch) | |
tree | 22fb792a09eda7202bac6a231c6532b46de3c5f9 /meta/classes/package_ipk.bbclass | |
parent | 934bb71c9d40bd5394e64e63c71558e87639141a (diff) | |
download | poky-3abe7a0624e1215124799f97c872682a98659760.tar.gz |
classes/package_ipk|_deb|_rpm.bbclass: Fix setting of OVERRIDES when packaging
The OVERRIDES variable was being incorrectly set with the end result of the
runtime dependencies of the package not being encoded in it's package metadata.
This broke opkg-native in meta-toolchain.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index da195a99e1..1b40cfebc9 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -182,7 +182,7 @@ python do_package_ipk () { | |||
182 | overrides = bb.data.getVar('OVERRIDES', localdata, True) | 182 | overrides = bb.data.getVar('OVERRIDES', localdata, True) |
183 | if not overrides: | 183 | if not overrides: |
184 | raise bb.build.FuncFailed('OVERRIDES not defined') | 184 | raise bb.build.FuncFailed('OVERRIDES not defined') |
185 | bb.data.setVar('OVERRIDES', overrides + ':' + pkg, localdata) | 185 | bb.data.setVar('OVERRIDES', pkg + ':' + overrides, localdata) |
186 | 186 | ||
187 | bb.data.update_data(localdata) | 187 | bb.data.update_data(localdata) |
188 | basedir = os.path.join(os.path.dirname(root)) | 188 | basedir = os.path.join(os.path.dirname(root)) |