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

EXT-Antti Gärding <[email protected]> Mon, 18 May 2026 14:56:02 +0000
Newsgroups org.yoctoproject.lists.yocto
Message-ID <AS8PR08MB72514DC2F3B87AC70DB0F90CD5032@AS8PR08MB7251.eurprd08.prod.outlook.com>
--_000_AS8PR08MB72514DC2F3B87AC70DB0F90CD5032AS8PR08MB7251eurp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


> 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.

Ok. Thanks for advice, all of you!


BR,
Antti G=E4rding

--_000_AS8PR08MB72514DC2F3B87AC70DB0F90CD5032AS8PR08MB7251eurp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class=3D"elementToProof"><span style=3D"font-size: 11pt;">&gt; Basical=
ly anonymous python, event handlers and everything else you<br>
tried is *way* over-thinking and over-engineering, and no one will be<br>
able to understand what you did there, and why, because that's not how<br>
such things are typically solved.<br>
<br>
&gt; The standard, working approach to form SRC_URI dynamically is to first=
<br>
set a variable with a function, then use the variable inside SRC_URI<br>
assignment. Which is what we all are trying to get across.<br>
</span></div>
<div class=3D"elementToProof" style=3D"font-size: 11pt;"><br>
</div>
<div class=3D"elementToProof" style=3D"font-size: 11pt;">Ok. Thanks for adv=
ice, all of you!</div>
<div class=3D"elementToProof" style=3D"font-size: 11pt;"><br>
</div>
<div class=3D"elementToProof" style=3D"font-size: 11pt;"><br>
</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; c=
olor: rgb(0, 0, 0);">
BR,</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; c=
olor: rgb(0, 0, 0);">
Antti G=E4rding</div>
</body>
</html>

--_000_AS8PR08MB72514DC2F3B87AC70DB0F90CD5032AS8PR08MB7251eurp_--