diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-27 10:25:00 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-01 08:49:37 +0100 |
| commit | 6c8292de8541ddf44f34470d06796c3ef7aab3bc (patch) | |
| tree | 2b44061f7826fc23d1df1ba08726df2b5351fe05 /meta/conf | |
| parent | 99d0842f16aeb0c43f4674c60cb815c6438ed3bf (diff) | |
| download | poky-6c8292de8541ddf44f34470d06796c3ef7aab3bc.tar.gz | |
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>
Diffstat (limited to 'meta/conf')
| -rw-r--r-- | meta/conf/bitbake.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index a3300fc172..b1f8ac5b11 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
| @@ -944,6 +944,8 @@ TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH').replace("_", "-")}" | |||
| 944 | 944 | ||
| 945 | # Set a default umask to use for tasks for determinism | 945 | # Set a default umask to use for tasks for determinism |
| 946 | BB_DEFAULT_UMASK ??= "022" | 946 | BB_DEFAULT_UMASK ??= "022" |
| 947 | # The umask to use for shared files (e.g. DL_DIR and SSTATE_DIR) | ||
| 948 | OE_SHARED_UMASK ??= "002" | ||
| 947 | 949 | ||
| 948 | # Complete output from bitbake | 950 | # Complete output from bitbake |
| 949 | BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log" | 951 | BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log" |
