]> code.ossystems Code Review - openembedded-core.git/commitdiff
devtool: extract: disable basehash mismatch errors
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 13 Dec 2016 07:09:43 +0000 (20:09 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Dec 2016 09:56:36 +0000 (09:56 +0000)
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>
scripts/lib/devtool/standard.py

index fbd8a710b2f73b9ec5ed4e47eaa976b74336ac62..c52b00678ef08b8f928009ee5f365e2de2e7f5bc 100644 (file)
@@ -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',