]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Set as default task umask of 022
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 14 Feb 2021 11:42:23 +0000 (11:42 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 Feb 2021 11:28:01 +0000 (11:28 +0000)
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>
meta/conf/bitbake.conf
meta/conf/sanity.conf

index 3438be92b7fb2b77ed4d0aca652344b655edd613..375467d155aed7797553ca67afbdd027393ad509 100644 (file)
@@ -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"
 
index 9582edd3aff87e3de91935d7c4cc81e0907abb14..ef7cee6b6bf6c5b5ed0bd57c87584a3bd567e56a 100644 (file)
@@ -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"