summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-14 11:42:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-16 11:28:16 +0000
commitc4ecf7c1122380cdbc74fe692aa91756dc5bdf6b (patch)
tree38e2325f38833ce62a2209f8e1596796143590ae /meta/conf/bitbake.conf
parent707b62f130ae845ca7a6c21b31ad90b89681d863 (diff)
downloadpoky-c4ecf7c1122380cdbc74fe692aa91756dc5bdf6b.tar.gz
bitbake.conf: Set as default task umask of 022
Rather than trying to set the umask of every task to the correct value for determinism, set one value globally. This uses a new bitbake variable so bump the minimum version to match. This fixes strange determinism issues in at least quilt-ptest, valgrind-ptest and kernel-devsrc. (From OE-Core rev: b07b7deeae3d519d9998d583592f3e4f8f2802b3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 3438be92b7..375467d155 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -868,6 +868,9 @@ SHELL[unexport] = "1"
868# Used by canadian-cross to handle string conversions on TARGET_ARCH where needed 868# Used by canadian-cross to handle string conversions on TARGET_ARCH where needed
869TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH').replace("_", "-")}" 869TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH').replace("_", "-")}"
870 870
871# Set a default umask to use for tasks for determinism
872BB_DEFAULT_UMASK = "022"
873
871# Complete output from bitbake 874# Complete output from bitbake
872BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log" 875BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log"
873 876