From: Patrick Ohly <patrick.ohly@intel.com>
To: "Dominig ar Foll (Intel Open Source)" <dominig.arfoll@fridu.net>
Cc: yocto@yoctoproject.org
Subject: Re: Error with Cynara pkg_postinst when updating AGL to from morty master
Date: Thu, 02 Mar 2017 17:19:11 +0100 [thread overview]
Message-ID: <1488471551.7785.242.camel@intel.com> (raw)
In-Reply-To: <ba80e4dc-87af-327e-4f92-00c2f09d3e35@fridu.net>
On Thu, 2017-03-02 at 16:33 +0100, Dominig ar Foll (Intel Open Source)
wrote:
> Hello,
>
> I am trying to move AGL from morty to master in order to get a stock
> Kernel 3.9.
> I have moved meta-intel, poky and open embedded to master branches.
>
> I am blocked on an error that I do not understand in th pkg_postinst
> section.
> the error code is: AttributeError: 'module' object has no attribute
> 'getVar'
>
> As the only getVar is happening in the Version setting
> VERSION=${@bb.data.getVar('PV',d,1).split('+git')[0]}
> I wonder if something has hanged in bb.data but I could not find
> anything obvious.
bb.data.getVar() has been deprecated for a while and was finally
removed. Use d.getVar('PV') instead on master (no additional parameters
needed, expansion is on by default).
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
next prev parent reply other threads:[~2017-03-02 16:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-02 15:33 Error with Cynara pkg_postinst when updating AGL to from morty master Dominig ar Foll (Intel Open Source)
2017-03-02 16:19 ` Patrick Ohly [this message]
2017-03-02 16:41 ` Error with Cynara pkg_postinst when updating AGL to from morty master (solved) Dominig ar Foll (Intel Open Source)
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=1488471551.7785.242.camel@intel.com \
--to=patrick.ohly@intel.com \
--cc=dominig.arfoll@fridu.net \
--cc=yocto@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.