Bug 3275

Summary: inefficient PACKAGES_DYNAMIC expressions
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Martin Jansa <Martin.Jansa>
Component: coreAssignee: Martin Jansa <Martin.Jansa>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Medium+ CC: alexandrux.palalau, jessica.zhang, meta.mr.watcher, meta.watcher
Version: 1.4   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Martin Jansa 2012-10-11 09:06:26 UTC
All PACKAGES_DYNAMIC in oe-core have format like glob, but bitbake uses this variable as regexp.

Sometimes it's causing real problems like:
http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-October/041881.html

^ isn't used in any PACKAGES_DYNAMIC in oe-core, but it could make matching faster (and it will be more clear that we're expecting regexp not glob)
* is used wrong in all PACKAGES_DYNAMIC in oe-core (as in glob, but not regexp), so all those last '-' are optional
Comment 3 Martin Jansa 2012-10-24 16:15:55 UTC
All patches applied in master
last one was
http://git.openembedded.org/openembedded-core/commit/?id=0884bdbbf39f2b3a8a342918812f29ddcd3b1e6f
Comment 4 Alexandru Palalau 2013-03-27 10:56:27 UTC
Verified on master branch.
Commit ID: 9ffee9add2d0380f4025e7a678a166f25a7d659e