Private: Re: [yocto] Scope of the build parameters #systemd


Josef Holzmayr
 

Re-adding list, as I think this is valid information for all Yocto users.

On Thu, Nov 3, 2022 at 10:24 PM martin.leduc via lists.yoctoproject.org <martin.leduc=luminator.com@...> wrote:
Ok, I get that.  If DISTRO_FEATURES is settable only into local.conf, what are the other variables valid into the local.conf only? 

No, thats not how it works. Its like this:
- if the variable is supposed to only have an effect within the very bb file that you are looking at then it can stay in the recipe
- if the variable is supposed to affect something else, it needs to go into a configuration file.

This is is not tied to specific variable names or such. It is purely about the visibility.

Greetz,
Josef