summaryrefslogtreecommitdiffstats
path: root/meta/classes/devtool-source.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/devtool-source.bbclass')
-rw-r--r--meta/classes/devtool-source.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/devtool-source.bbclass b/meta/classes/devtool-source.bbclass
index 280d6009f3..41900e651f 100644
--- a/meta/classes/devtool-source.bbclass
+++ b/meta/classes/devtool-source.bbclass
@@ -199,6 +199,7 @@ python devtool_post_patch() {
199 # Run do_patch function with the override applied 199 # Run do_patch function with the override applied
200 localdata = bb.data.createCopy(d) 200 localdata = bb.data.createCopy(d)
201 localdata.setVar('OVERRIDES', ':'.join(no_overrides)) 201 localdata.setVar('OVERRIDES', ':'.join(no_overrides))
202 localdata.setVar('FILESOVERRIDES', ':'.join(no_overrides))
202 bb.build.exec_func('do_patch', localdata) 203 bb.build.exec_func('do_patch', localdata)
203 rm_patches() 204 rm_patches()
204 # Now we need to reconcile the dev branch with the no-overrides one 205 # Now we need to reconcile the dev branch with the no-overrides one
@@ -216,7 +217,8 @@ python devtool_post_patch() {
216 # Reset back to the initial commit on a new branch 217 # Reset back to the initial commit on a new branch
217 bb.process.run('git checkout %s -b devtool-override-%s' % (initial_rev, override), cwd=srcsubdir) 218 bb.process.run('git checkout %s -b devtool-override-%s' % (initial_rev, override), cwd=srcsubdir)
218 # Run do_patch function with the override applied 219 # Run do_patch function with the override applied
219 localdata.appendVar('OVERRIDES', ':%s' % override) 220 localdata.setVar('OVERRIDES', ':'.join(no_overrides + [override]))
221 localdata.setVar('FILESOVERRIDES', ':'.join(no_overrides + [override]))
220 bb.build.exec_func('do_patch', localdata) 222 bb.build.exec_func('do_patch', localdata)
221 rm_patches() 223 rm_patches()
222 # Now we need to reconcile the new branch with the no-overrides one 224 # Now we need to reconcile the new branch with the no-overrides one