]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm: pass XZ_THREADS to rpm
authorRoss Burton <ross@burtonini.com>
Wed, 26 May 2021 14:59:10 +0000 (15:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Jun 2021 13:25:17 +0000 (14:25 +0100)
commit959e1faa911ee67d5d84a57b932135b76cac6a53
treee6f9947efe47cbaf109d3ac1b2343b7c55dd89c9
parent07f223048a5b8ac3cb828a68b6069825c8d656ae
package_rpm: pass XZ_THREADS to rpm

By default RPM uses the number of cores as the number of threads to use,
which can result in quite antisocial memory usage.

As we control the macros for compression anyway, we can pass XZ_THREADS
to limit the number of threads if needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_rpm.bbclass