[OE-core] [PATCH] lib/oe: turn oe into a namespace package

Chris Larson kergoth at gmail.com
Tue Mar 18 16:52:23 UTC 2014


On Tue, Mar 18, 2014 at 7:38 AM, Chris Larson <kergoth at gmail.com> wrote:

>
> On Tue, Mar 18, 2014 at 6:48 AM, Paul Eggleton <
> paul.eggleton at linux.intel.com> wrote:
>
>> On Friday 14 March 2014 19:06:26 Christopher Larson wrote:
>> > This will let folks extend the oe package with modules from other
>> layers.
>> > Given openembedded consists of more than just oe-core, I think this
>> makes
>> > sense, and adds some useful flexibility.
>> >
>> > Signed-off-by: Christopher Larson <kergoth at gmail.com>
>> > ---
>> >  meta/lib/oe/__init__.py | 2 ++
>> >  1 file changed, 2 insertions(+)
>> >
>> > diff --git a/meta/lib/oe/__init__.py b/meta/lib/oe/__init__.py
>> > index e69de29..3ad9513 100644
>> > --- a/meta/lib/oe/__init__.py
>> > +++ b/meta/lib/oe/__init__.py
>> > @@ -0,0 +1,2 @@
>> > +from pkgutil import extend_path
>> > +__path__ = extend_path(__path__, __name__)
>>
>> FWIW, this broke builds on my CentOS build machine that uses a slightly
>> older
>> buildtools install from 1.4. I hope we have pkgutil in our more current
>> buildtools - if not could you please send a fix for that as well?
>
>
> Ah, interesting, sorry about the hassle there. I'm 90% certain it's in the
> current buildtools tarball, as I do all my build testing with a CentOS 6
> chroot using a buildtools tarball, and didn't hit that problem, but I'll
> double check.
>

Looks like it was added in
https://github.com/openembedded/oe-core/commit/7d93288.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140318/1ff3f70f/attachment-0002.html>


More information about the Openembedded-core mailing list