diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-14 11:42:23 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-16 11:28:01 +0000 |
commit | b07b7deeae3d519d9998d583592f3e4f8f2802b3 (patch) | |
tree | ece06ff349fb9758f77989a37f7d99015c8d528d /meta/conf | |
parent | 2b724599e29808014f5d9c1fdc70d20abab9b3e5 (diff) | |
download | openembedded-core-b07b7deeae3d519d9998d583592f3e4f8f2802b3.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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 3 | ||||
-rw-r--r-- | meta/conf/sanity.conf | 2 |
2 files changed, 4 insertions, 1 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" # Used by canadian-cross to handle string conversions on TARGET_ARCH where needed TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH').replace("_", "-")}" +# Set a default umask to use for tasks for determinism +BB_DEFAULT_UMASK = "022" + # Complete output from bitbake BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log" diff --git a/meta/conf/sanity.conf b/meta/conf/sanity.conf index 9582edd3af..ef7cee6b6b 100644 --- a/meta/conf/sanity.conf +++ b/meta/conf/sanity.conf @@ -3,7 +3,7 @@ # See sanity.bbclass # # Expert users can confirm their sanity with "touch conf/sanity.conf" -BB_MIN_VERSION = "1.49.1" +BB_MIN_VERSION = "1.49.2" SANITY_ABIFILE = "${TMPDIR}/abi_version" |