]> code.ossystems Code Review - openembedded-core.git/commit
rpm: handle virtual memory usage when limit is set
authorPeter Bergin <peter@berginkonsult.se>
Tue, 16 Oct 2018 20:30:32 +0000 (22:30 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Oct 2018 10:03:13 +0000 (11:03 +0100)
commita937cff2746073d1dea37d85e7305d8d6705ff28
tree9e1ebd0923815407ad583d0c96af3e79203e2b2d
parent715ec20c433cb4ed5fde938c33a42b2a296e4e56
rpm: handle virtual memory usage when limit is set

Fix the situation where the task do_package_write_rpm ends up in
"liblzma: memory allocation failed". This happens if the host
environment has set a limit on virtual_memory for the user with
'ulimit -v' for packages with a lot of binary packages, e.g. glibc-locale.

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/rpm/files/0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch [new file with mode: 0644]
meta/recipes-devtools/rpm/rpm_4.14.2.bb