summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_deb.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-07 12:53:46 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-07 12:53:46 +0100
commit4d4b7922b164c875ee5c4ce8f4a54e8a40fb6bb3 (patch)
tree829e7d3ae6f1b22fb969fa5930b6deccb6e4edbf /meta/classes/package_deb.bbclass
parent1497af07fa4f2fb44568bd60e7979d35ecde7e36 (diff)
downloadpoky-4d4b7922b164c875ee5c4ce8f4a54e8a40fb6bb3.tar.gz
package_*.bbclass: Only set pkg in overrides. These are the only values we're interested in expanding and this makes sure we obtain the expected data
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r--meta/classes/package_deb.bbclass6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index d371daaf9b..90ef272c24 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -112,11 +112,7 @@ python do_package_deb () {
112 pkgname = pkg 112 pkgname = pkg
113 bb.data.setVar('PKG', pkgname, localdata) 113 bb.data.setVar('PKG', pkgname, localdata)
114 114
115 overrides = bb.data.getVar('OVERRIDES', localdata) 115 bb.data.setVar('OVERRIDES', pkg, localdata)
116 if not overrides:
117 raise bb.build.FuncFailed('OVERRIDES not defined')
118 overrides = bb.data.expand(overrides, localdata)
119 bb.data.setVar('OVERRIDES', overrides + ':' + pkg, localdata)
120 116
121 bb.data.update_data(localdata) 117 bb.data.update_data(localdata)
122 basedir = os.path.join(os.path.dirname(root)) 118 basedir = os.path.join(os.path.dirname(root))