[Toaster] [PATCH] toaster: change TOASTER_CONF to meta-poky
Richard Purdie
richard.purdie at linuxfoundation.org
Mon Feb 29 07:59:01 PST 2016
On Mon, 2016-02-29 at 15:44 +0000, Belen Barros Pena wrote:
> From: Belen Barros Pena <belen.barros.pena at intel.com>
>
> Patch 9d5483c37523ff3d334c98cafb848282b54962cd renames the layer
> within
> the meta-yocto repository to meta-poky. This patch changes the value
> of
> TOASTER_CONF in the toaster set up script to get Toaster to import
> the
> meta-poky/conf/toasterconf.json file.
>
> Signed-off-by: Belen Barros Pena <belen.barros.pena at intel.com>
> ---
> bitbake/bin/toaster | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
> index 72eae64..4e709ab 100755
> --- a/bitbake/bin/toaster
> +++ b/bitbake/bin/toaster
> @@ -248,7 +248,7 @@ fi
> # in the local layers that currently prevent using an arbitrary
> # toasterconf.json
> if [ "$TOASTER_CONF" = "" ]; then
> - TOASTER_CONF="$(dirname $TOASTER)/../../meta
> -yocto/conf/toasterconf.json"
> + TOASTER_CONF="$(dirname $TOASTER)/../../meta
> -poky/conf/toasterconf.json"
> export TOASTER_CONF=$(python -c "import os; print
> os.path.realpath('$TOASTER_CONF')")
> fi
> if [ ! -f $TOASTER_CONF ]; then
Do we still need this or can this be removed given the TEMPLATECONF
code above it in this file? bitbake really shouldn't have OE/Yocto
knowledge ideally.
Cheers,
Richard
More information about the toaster
mailing list