Hi Max,
I think you are interpreting it not entirely correctly. You are reading do_patch() description and the task would pick up all patches it finds. But SRC_URI is another thing and it is looked at during parsing time.

Vyacheslav

On 01.12.2021 15:26, Max Krummenacher wrote:
Hello

I tried to add patches by specifing a directory in SRC_URI and have
bitbake appling all patch files in it without explicitely adding the
individual file names in SRC_URI.
According to the do_patch description [1] that should work, however
for my example recipe it does not. The files in the directory end up
in ${WORKDIR}/path_to_lots_of_patch_files/ but none of the *.patch
files are applied.

Looking at meta/lib/oe/patch.py src_patches() I believe that the
documented behaviour is not implemented.

Does anyone know why this is documented but not implemented?
Has it been removed for good reason and is now undesired in OE?
I'd be willing to work on the feature.

Max

[1] 
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#ref-tasks-patch




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#159034): 
https://lists.openembedded.org/g/openembedded-core/message/159034
Mute This Topic: https://lists.openembedded.org/mt/87429103/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to