Re: [yocto] Modifying SRC_URI before it is parsed by the fetcher

Alexander Kanavin <[email protected]> Wed, 13 May 2026 16:35:29 +0200
Newsgroups org.yoctoproject.lists.yocto
Message-ID <CANNYZj_7Q_aS8yp+ZR3=9xTjHUsJyxL8ep9K2qO3RwSMnFUvoA@mail.gmail.com>
On Wed, 13 May 2026 at 16:22, EXT-Antti G=C3=A4rding via
lists.yoctoproject.org
<[email protected]> wrote:
> For debugging purposes, the appending must be easy to toggle on and off f=
or any single recipe. I would accomplish that by having it packed into a cl=
ass which would make its decisions based on the meta data that is already i=
n the recipe inheriting it.

Then what in Quentin's suggestion isn't going to work? You put the
function and the SRC_URI_TAG assignment into the class. You modify the
SRC_URI in the recipe to refer to SRC_URI_TAG variable, and add a
class inherit into the recipe. Which part of this isn't appropriate or
possible and why?

Alex