[OE-core] [PATCH] image_types: Fix bmaptool support for RSS

Tom Rini trini at konsulko.com
Wed Sep 27 19:34:41 UTC 2017


On Wed, Sep 27, 2017 at 01:52:18PM -0400, Tom Rini wrote:
> On Wed, Sep 27, 2017 at 06:10:58PM +0100, Burton, Ross wrote:
> > On 27 September 2017 at 18:00, Tom Rini <trini at konsulko.com> wrote:
> > 
> > > With RSS we need to ensure that when making a bmap image that the
> > > python3 that we created is found via /usr/bin/env rather than the host
> > > python3.  Otherwise we're relying on the build host to have bmaptool
> > > support installed.
> > >
> > > Signed-off-by: Tom Rini <trini at konsulko.com>
> > > ---
> > > I played around with a few ways to try and fix this problem, and this
> > > was the best I could come up with.  Once this is in we need this in pyro
> > > as well as it's broken there too.
> > 
> > Doesn't bmap in Pyro use Python 2?
> 
> I hadn't tested my fix in pyro yet, only confirmed that it was broken
> there.  I'll check and get back to you on that part.

OK, I need to investigate the pyro failure I saw more to see what else
was going in there.  Just oe-core pyro is fine as bamptool uses python2
and .../recipe-sysroot-native/usr/bin/bmaptool is /usr/bin/env
nativepython which is also in usr/bin and is thus found.

-- 
Tom



More information about the Openembedded-core mailing list