[yocto] [meta-raspberrypi][PATCH 1/2] layer.conf: fix parse

Andrei Gherzan andrei at gherzan.ro
Sat Jan 26 15:03:49 PST 2013


On Thu, Jan 24, 2013 at 10:57:41PM +0100, Andreas Müller wrote:
> after meta-systemd commit [1] the following error was thrown during parsing:
>
> ERROR: Unable to parse /home/Superandy/data/oe-core/sources/meta-raspberrypi/conf/layer.conf:
> Failure expanding variable BBFILES, expression was
> ...
> /home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/recipes-*/*/*.bb
> /home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/oe-core/recipes-*/*/*.bbappend
> /home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-oe/recipes-*/*/*.bbappend
> ${@base_contains('BBFILE_COLLECTIONS', 'systemd-layer','', '/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/invalid.bb', d)}
> ${@base_contains('BBFILE_COLLECTIONS', 'gnome-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-gnome/recipes-*/*/*.bbappend', '', d)}
> ${@base_contains('BBFILE_COLLECTIONS', 'efl-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-efl/recipes-*/*/*.bbappend', '', d)}
> ${@base_contains('BBFILE_COLLECTIONS', 'multimedia-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-multimedia/recipes-*/*/*.bbappend', '', d)}
> ${@base_contains('BBFILE_COLLECTIONS', 'networking','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-networking/recipes-*/*/*.bbappend', '', d)}
> ${@base_contains('BBFILE_COLLECTIONS', 'xfce-layer','/home/Superandy/data/oe-core/sources/meta-openembedded/meta-systemd/meta-xfce/recipes-*/*/*.bbappend', '', d)}
> ...
> which triggered exception NameError: name 'base_contains' is not defined
>
> [1] http://cgit.openembedded.org/meta-openembedded/commit/?id=3c21a46020bd0816579648f684c41dbd6333583e
>
> Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
> ---
>  conf/layer.conf |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/conf/layer.conf b/conf/layer.conf
> index 32e1827..e8b87b2 100644
> --- a/conf/layer.conf
> +++ b/conf/layer.conf
> @@ -2,7 +2,7 @@
>  BBPATH .= ":${LAYERDIR}"
>
>  # We have a recipes directory containing .bb and .bbappend files, add to BBFILES
> -BBFILES := "${BBFILES} ${LAYERDIR}/recipes*/*/*.bb \
> +BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
>              ${LAYERDIR}/recipes*/*/*.bbappend"
>
>  BBFILE_COLLECTIONS += "raspberrypi"
> --
> 1.7.4.4
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Merged with a little commit message tweak.

Thank you,

--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12




More information about the yocto mailing list