On 5/13/26 14:26, EXT-Antti Gärding via lists.yoctoproject.org wrote:
》Which conditions?

The tag is derived from PV and if there are multiple repositories in SRC_URI, only one is appended with a tag.


BR,
Antti Gärding


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#66546): https://lists.yoctoproject.org/g/yocto/message/66546
Mute This Topic: https://lists.yoctoproject.org/mt/119275823/3618072
Group Owner: yocto+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [Qi.Chen@windriver.com]
-=-=-=-=-=-=-=-=-=-=-=-

You can use a bbclass + event handler to achieve this.

e.g.,
modify-src-uri.bbclass

In that bbclass, write a function (e.g., modify_src_uri) to modify SRC_URIs.
Then:
addhandler modify_src_uri
modify_src_uri[eventmask] = "bb.event.XXX"

Regards,
Qi