[meta-ti] [PATCH] beaglebone.inc: Update use of obsolete bitbake API

Denys Dmytriyenko denys at ti.com
Thu Mar 2 09:13:36 PST 2017


Ah, right, I forgot about this API change when pushing to master... Thanks.

On Thu, Mar 02, 2017 at 09:33:35AM +0100, Gary Thomas wrote:
> The bb.data.getVar() API has been deprecated & removed.  This change
> follows that change and allows MACHINE=beaglebone to work again.
> 
> Signed-off-by: Gary Thomas <gary at mlbassoc.com>
> ---
>  conf/machine/include/beaglebone.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/conf/machine/include/beaglebone.inc b/conf/machine/include/beaglebone.inc
> index f76ad3d..b10146d 100644
> --- a/conf/machine/include/beaglebone.inc
> +++ b/conf/machine/include/beaglebone.inc
> @@ -1,5 +1,5 @@
>  python () {
> -    layers = bb.data.getVar("BBFILE_COLLECTIONS", d, 1)
> +    layers = d.getVar("BBFILE_COLLECTIONS", True)
>      if not layers:
>          return
>      if "yoctobsp" in layers:
> -- 
> 2.7.4
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list