Skip to contentSkip to conversation

Should BB_DEFAULT_UMASK be set with ?=

DISCUSSION Rasmus Villemoes 1 participant 1 message May 30, 2022

lore
Share & tools
lore
#0 lore raw

Hi,

Suppose I want to define BB_DEFAULT_UMASK in site.conf or local.conf (I do have a use case for setting it to 002). But bitbake.conf includes those files before it then goes on to use an unconditional assignment

BB_DEFAULT_UMASK = "022"

So how/where is one supposed to be able to set BB_DEFAULT_UMASK? Should the assignment in bitbake.conf be ?= or perhaps ??= instead? Or should the assigment instead be moved above the inclusion of the user's configuration files?

Rasmus