| Summary: | module_autoload_xxx variables are not taken into account for sstate signature | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Nicolas Dechesne <ndec13> | ||||
| Component: | kernel | Assignee: | Richard Purdie <richard.purdie> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | bluelightning, bruce.ashfield, dvhart, richard.purdie, tom.zanussi | ||||
| Version: | 1.5 | ||||||
| Target Milestone: | 1.7 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | Don't know | |||||
| Attachments: |
|
||||||
|
Description
Nicolas Dechesne
2014-02-04 12:26:32 UTC
Just to clarify, the problem is that the module_autoload_* variables don't get included in the task hash for do_package as they ought to - because of the way they are read, bitbake can't determine that a dependency on them exists; thus adding one or changing one of their values and then building the kernel or image doesn't have any effect. Because the name is dynamic I'm not sure how we can fix this. Richard, any suggestions? As this is more bitbake-core related that kernel specific - I'm reassigning to Saul. I don't know how to fix this for the current codebase. The format of this variable (and module_conf_xxxx) are horrible. What we need is a: KERNEL_MODULE_AUTOLOAD = "<list oof modules>" KERNEL_MODULE_PROBECONF = "<list of modules>" set of variables which replace the module_autoload ones and supplement the module_conf ones. Unfortunately this is an API change, probably too late for this cycle but can make it early in the next one. Once we have the above variables, adding those to sstate is straight forward. Created attachment 1860 [details]
Rough proof of concept
Rough proof of concept
Patch finished and posted for review |