]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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 22:26:35 +0000 (23:26 +0100)
commit6d14fe119c6e7d1d26ef33dfaf3b44ceff113546
treecca5f929200ed545f7aa09a59318c8990560ace6
parent1de82d5fc0dd7f9f472815bde47f3a0eead36583
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.

(From OE-Core rev: a937cff2746073d1dea37d85e7305d8d6705ff28)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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