diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-11 11:01:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-11 22:39:20 +0100 |
commit | 7074a39333f6900fab3667bb49be11c33d849981 (patch) | |
tree | cd056f267aaaa141a7b713279d1c4f23f7bd7313 | |
parent | 54a8d36902d6a6544cbc3c49a3d5325d331c428f (diff) | |
download | poky-7074a39333f6900fab3667bb49be11c33d849981.tar.gz |
bitbake.conf: Ensure XZ_THREADS doesn't change sstate checksums
rpm output packages currently depend on the value of XZ_THREADS which
is ok if left to the default value but problematic if system limits
are set such as on the autobuilder.
Force the value to a specific one in the hashes for better sstate reuse
and consistent rpm task checksums.
(From OE-Core rev: 0296dc71c01d1b7953d74ef37d56429e2f4fcfab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/bitbake.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 2140d498f7..e25d632dc1 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -811,6 +811,7 @@ PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}" | |||
811 | # Default parallelism and resource usage for xz | 811 | # Default parallelism and resource usage for xz |
812 | XZ_MEMLIMIT ?= "50%" | 812 | XZ_MEMLIMIT ?= "50%" |
813 | XZ_THREADS ?= "${@oe.utils.cpu_count(at_least=2)}" | 813 | XZ_THREADS ?= "${@oe.utils.cpu_count(at_least=2)}" |
814 | XZ_THREADS[vardepvalue] = "1" | ||
814 | XZ_DEFAULTS ?= "--memlimit=${XZ_MEMLIMIT} --threads=${XZ_THREADS}" | 815 | XZ_DEFAULTS ?= "--memlimit=${XZ_MEMLIMIT} --threads=${XZ_THREADS}" |
815 | XZ_DEFAULTS[vardepsexclude] += "XZ_MEMLIMIT XZ_THREADS" | 816 | XZ_DEFAULTS[vardepsexclude] += "XZ_MEMLIMIT XZ_THREADS" |
816 | 817 | ||