mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
bitbake.conf/sstate: Introduce OE_SHARED_UMASK to standarise shared area umask
Currently, the "shared" directory permissions of sstate are hardcoded. Since multiple areas of the code reference this, separate it out to a variable to allow the behaviour to be configurable. Initially this applies to SSTATE_DIR. (From OE-Core rev: ce32daa9843bcb5f6daf3560c64ca9e5144adcb0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -944,6 +944,8 @@ TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH').replace("_", "-")}"
|
||||
|
||||
# Set a default umask to use for tasks for determinism
|
||||
BB_DEFAULT_UMASK ??= "022"
|
||||
# The umask to use for shared files (e.g. DL_DIR and SSTATE_DIR)
|
||||
OE_SHARED_UMASK ??= "002"
|
||||
|
||||
# Complete output from bitbake
|
||||
BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log"
|
||||
|
||||
Reference in New Issue
Block a user