Bug 2680 - Using the "hob" script will not re-use the parse from the bitbake -p
Summary: Using the "hob" script will not re-use the parse from the bitbake -p
Status: RESOLVED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: 1.2.1
Hardware: All Multiple
: Low enhancement
Target Milestone: 1.3
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-02 22:25 UTC by Jason Wessel
Modified: 2012-08-22 15:20 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.