On Tue, 2016-11-29 at 13:16 -0700, Christopher Larson wrote: > On Tue, Nov 29, 2016 at 9:48 AM, Cody P Schafer <[email protected]> wrote: > > > bb.data.getVar was removed, need to use the modern mechanism. > > > > Signed-off-by: Cody P Schafer <[email protected]> > > --- > > classes/java-library.bbclass | 4 ++-- > > recipes-core/icedtea/icedtea7-native.inc | 2 +- > > recipes-core/openjdk/openjdk-7-common.inc | 2 +- > > recipes-core/openjdk/openjdk-8-common.inc | 10 +++++----- > > recipes-core/openjdk/openjdk-common.inc | 6 +++--- > > 5 files changed, 12 insertions(+), 12 deletions(-) > > > > diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass > > index 144cd2f..58d5a40 100644 > > --- a/classes/java-library.bbclass > > +++ b/classes/java-library.bbclass > > @@ -23,8 +23,8 @@ def java_package_name(d): > > pre="" > > post="" > > > > - bpn = bb.data.getVar('BPN', d, 1) > > - ml = bb.data.getVar('MLPREFIX', d, 1) > > + bpn = d.getVar('BPN', True) > > + ml = d.getVar('MLPREFIX', True) > > > > If you’re working on master, even the ‘, True’ is no longer needed, FYI.
I suspect that meta-java master is meant to work with more than just bitbake master, so keeping the parameter makes sense. I think the change is okay and I'd love to see it merged as soon as possible. In Ostro OS, updating to bitbake and OE-core master is blocked by this meta-java incompatibility with bitbake master. Can someone with commit rights to meta-java please merge it? Bye, Patrick -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
