From: Richard Purdie Date: Sun, 14 Feb 2021 11:42:23 +0000 (+0000) Subject: bitbake.conf: Set as default task umask of 022 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~8789 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b07b7deeae3d519d9998d583592f3e4f8f2802b3;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 3438be92b7f..375467d155a 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 9582edd3aff..ef7cee6b6bf 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"