summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_deb.bbclass
diff options
context:
space:
mode:
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))