-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
Running latest oelint-adv over my metalayer gives me:
[...]warning:oelint.vars.bbvars.DEFAULT_PREFERENCE:Variable 'DEFAULT_PREFERENCE' should be set on a disto/layer or local.conf level, not in a recipe
However, the current docs state:
The most common usage of this is variable is to set it to "-1" within a recipe for a development version of a piece of software.
Also, multiple openembedded recipes are using DEFAULT_PREFERENCE in recipe files, but I havn't seen any example of usage in distro or layer conf. How would I set DEFAULT_PREFERENCE here for a specific version only? Could you please explain pros and cons of setting DEFAULT_PREFERENCE in distro or layer conf and maybe provide example code?
Metadata
Metadata
Assignees
Labels
No labels