]> 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>
Thu, 27 May 2021 12:20:44 +0000 (13:20 +0100)
commitb9c983eb22a9b0771a0454216d1d7cbb5f3f8a16
treead2d048897b154fac8b247837ec37f9d7881c191
parent31142d9ddce396a6b490f974e952e7f056e2b192
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