Bug 3275 - inefficient PACKAGES_DYNAMIC expressions
Summary: inefficient PACKAGES_DYNAMIC expressions
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 1.4
Assignee: Martin Jansa
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-10-11 09:06 UTC by Martin Jansa
Modified: 2013-03-27 10:56 UTC (History)
4 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 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