diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 3db8637570..c4f53046f5 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -166,10 +166,9 @@ python do_package_ipk () { | |||
166 | pkgname = pkg | 166 | pkgname = pkg |
167 | bb.data.setVar('PKG', pkgname, localdata) | 167 | bb.data.setVar('PKG', pkgname, localdata) |
168 | 168 | ||
169 | overrides = bb.data.getVar('OVERRIDES', localdata) | 169 | overrides = bb.data.getVar('OVERRIDES', localdata, True) |
170 | if not overrides: | 170 | if not overrides: |
171 | raise bb.build.FuncFailed('OVERRIDES not defined') | 171 | raise bb.build.FuncFailed('OVERRIDES not defined') |
172 | overrides = bb.data.expand(overrides, localdata) | ||
173 | bb.data.setVar('OVERRIDES', overrides + ':' + pkg, localdata) | 172 | bb.data.setVar('OVERRIDES', overrides + ':' + pkg, localdata) |
174 | 173 | ||
175 | bb.data.update_data(localdata) | 174 | bb.data.update_data(localdata) |