]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
bitbake.conf: set BB_DEFAULT_UMASK using ??=
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Fri, 26 Aug 2022 12:20:44 +0000 (14:20 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Aug 2022 09:28:26 +0000 (10:28 +0100)
commite3dbded499f0bd1e71abb0650ae98fd9ade94250
treec4e514f9ef1c2a61d6259cdd9569ca1b7efa3ce7
parent504eb0ff1cae200ee85ec18ebae564cae9bf9c8c
bitbake.conf: set BB_DEFAULT_UMASK using ??=

Currently, there's no way for the user's site.conf, local.conf or
similar to set BB_DEFAULT_UMASK, because those files are included by
bitbake.conf prior to the unconditional assignment of
BB_DEFAULT_UMASK. To make that possible, use a weak default assignment
instead. This is also consistent with most other variable assignments
in the lower half of bitbake.conf.

I believe the risk of a regression is very small; it would require
something like somebody having a definition of BB_DEFAULT_UMASK in a
local configuration file, and having been relying on that _not_ taking
effect.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
meta/conf/bitbake.conf