From: Denys Dmytriyenko <denys@ti.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH] beaglebone.inc: Update use of obsolete bitbake API
Date: Thu, 2 Mar 2017 12:13:36 -0500 [thread overview]
Message-ID: <20170302171336.GQ12614@edge> (raw)
In-Reply-To: <1488443615-2456-1-git-send-email-gary@mlbassoc.com>
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@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
next prev parent reply other threads:[~2017-03-02 17:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-02 8:33 [PATCH] beaglebone.inc: Update use of obsolete bitbake API Gary Thomas
2017-03-02 17:13 ` Denys Dmytriyenko [this message]
2017-03-02 19:29 ` Christopher Larson
2017-03-02 20:39 ` Denys Dmytriyenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170302171336.GQ12614@edge \
--to=denys@ti.com \
--cc=gary@mlbassoc.com \
--cc=meta-ti@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.