Re: [yocto] Modifying SRC_URI before it is parsed by the fetcher
Alexander Kanavin <[email protected]> Wed, 13 May 2026 15:51:59 +0200
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <CANNYZj_VGh3G-b6mWPqJO6WukwRhkh3Gvjffk3GXG8D05ezeOg@mail.gmail.com> |
On Wed, 13 May 2026 at 15:11, EXT-Antti G=C3=A4rding via lists.yoctoproject.org <[email protected]> wrote: > I think this would work if the only goal was to append a tag parameter in= to an SRC_URI entry, but I need something more. I'd like the function to be= in a class so that I can add the tag matching into a recipe by just inheri= ting that class regardless of what is in SRC_URI and also disable tag match= ing by just not inheriting that class anymore. You still aren't saying what the condition for adding, or not adding the tag is. What are the two scenarios here, why would one or the other be selected? Please: if you want help, you should be forward and clear with the use case, even if you have to disclose 'something' about your development process. You can probably just always inherit the class, but the class would add the tag (or not), depending on whether some variable is set. And then you either set it or not in your build/conf/local.conf, or some other place that affects bitbake configuration for the build. Alex