[OE-core] oe-core cleanup...

Joshua Lock josh at linux.intel.com
Thu Mar 3 14:29:38 UTC 2011


My last reply went straight to Chris rather than the list so re-sending,
sorry Chris.

Is it intended that the list doesn't reply to list by default?

On Thu, 2011-03-03 at 07:14 -0700, Chris Larson wrote:
> On Thu, Mar 3, 2011 at 7:05 AM, Joshua Lock <josh at linux.intel.com>
wrote:
> > I agree, in fact yesterday I discovered we have the beginnings of
such a
> > tool (bitbake-layers) written by Chris. Currently it prints out
which
> > recipes are being modified by a .bbappend and .bbappend files for
which
> > no recipe exists.
> >
> > I had to write a trivial patch (attached) to make it work but it's a
> > good start. :-)
> 
> Note that "fixes the instantiation of the BBCooker to match recent
> changes in the BitBake libraries." is not correct.  It's not a recent
> change, it's a poky vs upstream difference at the moment, due to the
> switch to the Process based server.  The change in that patch will
> make it work with poky, which is good, but not with master.

Fair enough, Poky is (currently) the environment in which I do most of
my BitBake hacking but I appreciate you pointing this out.

I was just about to reply pointing out that the patch is against Poky
rather than upstream.

> 
> This is the last somewhat large piece of the bitbake sync, as far as I
> know -- we need to decide how best to resurrect the XML/RPC server in
> master, but we haven't yet determined how the user should select their
> server.  For the average user, they just want to run a UI, the server
> is implementation details, so I'd argue that we let the UI instantiate
> the server it needs, create a UI that spawns an xml/rpc server and
> displays the connection info to stdout, and add an env var to let the
> other UIs connect to a nondefault server, but there are other
> possibilities that need to be considered.  In poky, you have to
> comment/uncomment lines in bin/bitbake, which is .. not ideal :)

I agree with what you're saying here and I'm thinking along similar
lines wrt having the UI be able to select the desired server but was
also thinking of having a command line switch to choose which server you
want to use. I've kept quiet about this so far as I don't yet have any
patches. ;-)

I like the idea of an env var to use a non-default server.

> 
> Do let me know if you come up with any good ideas for additional
> commands for the bitbake-layers tool -- I'm sure there are plenty of
> useful things we can add to assist in layer maintenance.  Thanks!
> I'll apply the #! change to upstream right away.

Great, thanks very much. I've not had any good ideas yet but you can be
sure you'll see patches if/when I do.

Cheers,
Joshua
-- 
Joshua Lock
        Yocto Build System Monkey
        Intel Open Source Technology Centre





More information about the Openembedded-core mailing list