summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-12-02 11:24:25 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-12-13 19:55:02 +1300
commit6755735121ae740ca8c2074c4ce7273c5fce9a5a (patch)
tree6a521351743f6fb472b426f4e25438a6659ad359
parent6ec1ec6a4284820f7d7086a9b801d73dc370075d (diff)
downloadopenembedded-core-contrib-6755735121ae740ca8c2074c4ce7273c5fce9a5a.tar.gz
openembedded-core-contrib-6755735121ae740ca8c2074c4ce7273c5fce9a5a.tar.bz2
openembedded-core-contrib-6755735121ae740ca8c2074c4ce7273c5fce9a5a.zip
devtool: extract: disable basehash mismatch errors
Using the setVariable commands here followed by buildFile will result in "basehash mismatch" errors, and that's expected since we are deviating *at runtime* from what was previously seen by changing these variable values. Set BB_HASH_IGNORE_MISMATCH to turn off the errors. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--scripts/lib/devtool/standard.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index fbd8a710b2..c52b00678e 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -497,6 +497,7 @@ def _extract_source(srctree, keep_temp, devbranch, sync, d, tinfoil):
tinfoil.config_data.setVar('T', os.path.join(tempdir, 'temp'))
tinfoil.config_data.setVar('BUILDCFG_FUNCS', '')
tinfoil.config_data.setVar('BUILDCFG_HEADER', '')
+ tinfoil.config_data.setVar('BB_HASH_IGNORE_MISMATCH', '1')
tinfoil.set_event_mask(['bb.event.BuildStarted',
'bb.event.BuildCompleted',