Re: [yocto] Modifying SRC_URI before it is parsed by the fetcher
Alexander Kanavin <[email protected]> Mon, 18 May 2026 12:44:57 +0200
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <CANNYZj94rNNiDb1e4Dns7X+dJOH=MbgY-ZbYDzQPmJn5+s+ctA@mail.gmail.com> |
On Mon, 18 May 2026 at 07:00, EXT-Antti G=C3=A4rding via lists.yoctoproject.org <[email protected]> wrote: > What are you referring to as a hack? Are some of these approaches that ha= ve been mentioned in this tread not recommended for some reason? Basically anonymous python, event handlers and everything else you tried is *way* over-thinking and over-engineering, and no one will be able to understand what you did there, and why, because that's not how such things are typically solved. The standard, working approach to form SRC_URI dynamically is to first set a variable with a function, then use the variable inside SRC_URI assignment. Which is what we all are trying to get across. Alex