summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-12-13 20:09:43 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-14 09:56:36 +0000
commitb0169796f294bbec0397b7eae86454a46b68cdc5 (patch)
treecfe41648cfc0b182ec76eda87ebb322d5cc60080 /scripts
parentcdfc6173cb06ca374b7d927442a0fdde8373ba48 (diff)
downloadopenembedded-core-contrib-b0169796f294bbec0397b7eae86454a46b68cdc5.tar.gz
openembedded-core-contrib-b0169796f294bbec0397b7eae86454a46b68cdc5.tar.bz2
openembedded-core-contrib-b0169796f294bbec0397b7eae86454a46b68cdc5.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> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-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',