On 07.03.25 09:26, Bogdan Prădatu wrote:
> So, I guess it's not desired to allow repo url overrides?
>
Well, if there is a use case, we can discuss potential solutions. But be
warned that this may not be as simple as it looks initially.
> On Wednesday, 26 February 2025 at 11:42:18 UTC+2 Bogdan Prădatu wrote:
>
> I have multiple yaml files for different type of targets, images,
> whatever. Some of them need a meta-layer, some don't. If I over an
> override.yml, that will just add the repo, if it does not exist. The
> overrides functionality pretty much does exactly what I want: if the
> attribute is defined, it overrides it, otherwise it does nothing.
>
> What I want to achieve is one or multiple repositories which point
> to public repositories and an override.yml file for CI and local
> development that will point to our internal repositories. Like these
> guys are doing in here, for example:
https://github.com/nxp-auto-
> linux/auto_yocto_bsp/blob/release/bsp43.0/default-bitbucket.xml
> <
https://github.com/nxp-auto-linux/auto_yocto_bsp/blob/release/
> bsp43.0/default-bitbucket.xml>.
>
> Yes, I could set the KAS_PREMIRRORS environment variable in CI, but
> for local developers, I feel that it's easier to just have
> everything in the kas configs and not bother them with setting
> environment variables.
So, your demand is to have KAS_PREMIRRORS semantics carried by a kas
config snippet file? How would your use case look like concretely? Can
you sketch a set config files and their origin, similar to what Felix
tried? Would help to find the right design. Because I don't think it
would help you to simply add the url key to overwrite, just like the
commit key.
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center