[OE-core] [PATCH 1/2] PACKAGES_DYNAMIC: use regexp not glob

Richard Purdie richard.purdie at linuxfoundation.org
Mon Oct 22 12:26:06 UTC 2012


On Fri, 2012-10-12 at 12:46 +0200, Martin Jansa wrote:
> * bitbake uses PACKAGES_DYNAMIC as regexp
>   ^ could make matching faster (and it will be more clear that we're expecting regexp not glob)
>   * made all those last '-' optional, use .* (or nothing)
> 
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
>  meta/classes/kernel.bbclass                              | 6 +++---
>  meta/conf/bitbake.conf                                   | 2 +-
>  meta/recipes-connectivity/connman/connman.inc            | 2 +-
>  meta/recipes-core/eglibc/eglibc-locale.inc               | 6 +++---
>  meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | 2 +-
>  meta/recipes-devtools/perl/perl_5.14.2.bb                | 4 ++--
>  meta/recipes-extended/lighttpd/lighttpd_1.4.31.bb        | 2 +-
>  meta/recipes-extended/pam/libpam_1.1.6.bb                | 2 +-
>  meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb       | 2 +-
>  meta/recipes-gnome/gtk+/gtk+_2.24.8.bb                   | 2 +-
>  meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb     | 2 +-
>  meta/recipes-graphics/directfb/directfb.inc              | 2 +-
>  meta/recipes-graphics/mesa/mesa-dri.inc                  | 2 +-
>  meta/recipes-graphics/pango/pango.inc                    | 2 +-
>  meta/recipes-kernel/linux/linux-dummy.bb                 | 4 ++--
>  meta/recipes-multimedia/gstreamer/gst-plugins.inc        | 2 +-
>  meta/recipes-multimedia/pulseaudio/pulseaudio.inc        | 2 +-
>  meta/recipes-qt/qt-apps/qmmp_0.6.1.bb                    | 2 +-
>  meta/recipes-qt/qt4/qt4-embedded.inc                     | 2 +-
>  meta/recipes-qt/qt4/qt4.inc                              | 2 +-
>  20 files changed, 26 insertions(+), 26 deletions(-)
> 
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index 36bc3c7..b17b0f5 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -24,9 +24,9 @@ python __anonymous () {
>  
>  inherit kernel-arch deploy
>  
> -PACKAGES_DYNAMIC += "kernel-module-*"
> -PACKAGES_DYNAMIC += "kernel-image-*"
> -PACKAGES_DYNAMIC += "kernel-firmware-*"
> +PACKAGES_DYNAMIC += "^kernel-module-.*"
> +PACKAGES_DYNAMIC += "^kernel-image-.*"
> +PACKAGES_DYNAMIC += "^kernel-firmware-.*"

FWIW, these changes broke multilib. I've proposed a patch which at least
makes the mulitlib builds work again.

Cheers,

Richard





More information about the Openembedded-core mailing list