[yocto] Modifying the OE-internal Python code
PIEWALD Georg
Georg.PIEWALD at frequentis.com
Wed Oct 21 11:18:21 PDT 2015
> Paul Eggleton wrote:
> On Tuesday 20 October 2015 21:07:15 PIEWALD Georg wrote:
>> I'm trying to do some modifications in the OE-internals (just some personal
>> customizations), in the Python code. In particular, I changed the file
>> oe-core/meta/lib/oe/terminal.py
>> I also compiled it into a terminal.pyc file. However, the modifications
>> don't seem to be picked up by bitbake. Is there something more I have to
>> do? Does the .pyc file have to be installed somewhere?
>
> There should be no need to explicitly build the pyc nor do anything special
> for any changes to be recognised (assuming you're not using oe-init-build-env-
> memres). Something must be going wrong in your setup somewhere. Perhaps an
> unusual python path?
Thanks for your answer! I looked at it more careful now, and indeed you are right, all changes are recognized implicitly. The problem was in the code that I modified, which was a no-op (and I learned something about Python).
BR Georg
More information about the yocto
mailing list