Skip to contentSkip to conversation

Patching recipe from pypi

bitbake-devel Paul Swirhun 1 participant 1 message Mar 23, 2021 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Update: I found instructions on page 146 of Xilinx UG1144 which worked. This is for Petalinux and may not be directly applicable to bitbake but is probably just some wrapper around bitbake commands.

Quoted 19 lines · Paul Swirhun via lists.openembedded.org

Hello,

This is my first visit to this group, so my apologies if this is not the appropriate way to ask a question.

I would like to patch or overwrite a .py file from a pypi library which had a bug. The problem has been fixed at its source but I need the fixed version integrated into our version of Yocto (Zeus). Can someone point me to an example .bbappend recipe to replace a file populated by pip / pypi? Specifically, devtools/python/python-periphery/mmio.py has a bug which has been fixed in its top of tree but the old version remains and probably will remain in Zeus for some time.

Thanks,
Paul