Bug 2680

Summary: Using the "hob" script will not re-use the parse from the bitbake -p
Product: [Build System, Metadata & Runtime] Hob Reporter: Jason Wessel <jason.wessel>
Component: hobAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: bluelightning, jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher
Version: 1.2.1   
Target Milestone: 1.3   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jason Wessel 2012-07-02 22:25:45 UTC
The hob script will not use the results of a full parse in order to get itself boot strapped. 

The hob script appears to change only two variables:
   BB_ENV_EXTRAWHITE
   DISABLE_SANITY_CHECKS

You can duplicate the problem by doing the following:

mkdir proj
cd proj
. ../oe-init-build-env
bitbake -p
# Notice the parse is complete
# Now start "hob" with the "hob" command
hob

# Notice that it will immediately go to work with a full new parse

EXTRA INFORMATION:
I found that if I added "DISABLE_SANITY_CHECKS BB_ENV_EXTRAWHITE" to BB_HASHCONFIG_WHITELIST in the meta/conf/bitbake.conf that the parse data would get reused, but this is probably is not really the way to to fix this problem.  It seems that perhaps the DISABLE_SANITY_CHECKS should be in the default white list and that the hob script should be modified so as not to change the BB_ENV_EXTRAWHITE.
Comment 1 Jessica 2012-07-12 15:09:04 UTC
Please see if this issue exist in 1.3 if so, add enhancement in 1.3
Comment 2 Paul Eggleton 2012-08-22 15:20:45 UTC
Fix merged to master in poky revision a0a3a442409aef9495c0547ed268f6132862a5a2.