[oe-commits] [openembedded-core] 15/18: devtool: extract: disable basehash mismatch errors

git at git.openembedded.org git at git.openembedded.org
Wed Dec 14 09:57:29 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b0169796f294bbec0397b7eae86454a46b68cdc5
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Tue Dec 13 20:09:43 2016 +1300

    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 at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 scripts/lib/devtool/standard.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index fbd8a71..c52b006 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',

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list