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:16 +0000 |
commit | c4ecf7c1122380cdbc74fe692aa91756dc5bdf6b (patch) | |
tree | 38e2325f38833ce62a2209f8e1596796143590ae /meta/conf | |
parent | 707b62f130ae845ca7a6c21b31ad90b89681d863 (diff) | |
download | poky-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')
-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" | |||
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 |
869 | TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH').replace("_", "-")}" | 869 | TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH').replace("_", "-")}" |
870 | 870 | ||
871 | # Set a default umask to use for tasks for determinism | ||
872 | BB_DEFAULT_UMASK = "022" | ||
873 | |||
871 | # Complete output from bitbake | 874 | # Complete output from bitbake |
872 | BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log" | 875 | BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log" |
873 | 876 | ||
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 @@ | |||
3 | # See sanity.bbclass | 3 | # See sanity.bbclass |
4 | # | 4 | # |
5 | # Expert users can confirm their sanity with "touch conf/sanity.conf" | 5 | # Expert users can confirm their sanity with "touch conf/sanity.conf" |
6 | BB_MIN_VERSION = "1.49.1" | 6 | BB_MIN_VERSION = "1.49.2" |
7 | 7 | ||
8 | SANITY_ABIFILE = "${TMPDIR}/abi_version" | 8 | SANITY_ABIFILE = "${TMPDIR}/abi_version" |
9 | 9 | ||