Bug 9974 - Extensible SDK: reparse occurs on first devtool use
Summary: Extensible SDK: reparse occurs on first devtool use
Status: RESOLVED FIXED
Alias: None
Product: eSDK
Classification: Yocto Project Subprojects
Component: eSDK (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium minor
Target Milestone: 4.99
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-07-19 10:27 UTC by Paul Eggleton
Modified: 2019-07-01 22:18 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Patch to write out contents of hashed config (1.59 KB, patch)
2016-07-19 10:27 UTC, Paul Eggleton
no flags Details | Diff
Patch to write out contents of hashed config v2 (2.33 KB, patch)
2017-09-07 23:28 UTC, Paul Eggleton
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2016-07-19 10:27:20 UTC
Created attachment 3292 [details]
Patch to write out contents of hashed config

When you install the eSDK the first step of the build system preparation is of course the usual "parsing recipes". Annoyingly though the first time you run a command that needs to load the cache (e.g. devtool build-image) it parses again from scratch. Using a hack to save the hashed config data out, it seems like it might be related to uninative.
Comment 1 Paul Eggleton 2017-09-07 23:28:35 UTC
Created attachment 3994 [details]
Patch to write out contents of hashed config v2

Updated patch attached
Comment 2 Paul Eggleton 2017-09-07 23:31:57 UTC
So I have a quick fix for this which is to add NATIVELSBSTRING and SSTATEPOSTUNPACKFUNCS to BB_HASHCONFIG_WHITELIST; Richard said he thought there was an issue with doing that but he couldn't remember what it was. I think we're going to have to leave this one until 2.5 because fixing it properly is probably too disruptive at this point in the 2.4 cycle.

(It's worth noting that fixing this will almost certainly also fix bug 11011 at the same time).
Comment 3 Paul Eggleton 2018-04-18 15:09:16 UTC
This should be fixed by http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f5cd91aae0c0dcd891f07dd6934662ea3a834959 - just need to confirm.
Comment 4 Paul Eggleton 2019-07-01 22:18:39 UTC
I'm going to call this fixed.