From: ChenQi <Qi.Chen@windriver.com>
To: yocto@lists.yoctoproject.org, ext-antti.garding@kempower.com
Subject: Re: [yocto] Modifying SRC_URI before it is parsed by the fetcher
Date: Wed, 13 May 2026 14:38:57 +0800 [thread overview]
Message-ID: <2809cf78-c2d1-49f2-81ab-b01b4594de96@windriver.com> (raw)
In-Reply-To: <AS8PR08MB7251E97A7AC8E670837F704CD5062@AS8PR08MB7251.eurprd08.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 917 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 3136 bytes --]
next prev parent reply other threads:[~2026-05-13 6:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-12 14:47 Modifying SRC_URI before it is parsed by the fetcher EXT-Antti Gärding
2026-05-12 15:07 ` [yocto] " Alexander Kanavin
2026-05-12 16:05 ` EXT-Antti Gärding
2026-05-12 16:13 ` Quentin Schulz
2026-05-13 6:26 ` EXT-Antti Gärding
2026-05-13 6:38 ` ChenQi [this message]
2026-05-13 12:35 ` EXT-Antti Gärding
2026-05-13 12:42 ` Alexander Kanavin
2026-05-13 12:51 ` EXT-Antti Gärding
2026-05-13 13:11 ` EXT-Antti Gärding
2026-05-13 13:51 ` Alexander Kanavin
2026-05-13 14:22 ` EXT-Antti Gärding
2026-05-13 14:35 ` Alexander Kanavin
2026-05-13 15:07 ` EXT-Antti Gärding
2026-05-13 15:32 ` Quentin Schulz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2809cf78-c2d1-49f2-81ab-b01b4594de96@windriver.com \
--to=qi.chen@windriver.com \
--cc=ext-antti.garding@kempower.com \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.