aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm_4.14.2.bb
diff options
context:
space:
mode:
authorPeter Bergin <peter@berginkonsult.se>2018-10-16 22:30:32 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-18 11:03:13 +0100
commita937cff2746073d1dea37d85e7305d8d6705ff28 (patch)
tree9e1ebd0923815407ad583d0c96af3e79203e2b2d /meta/recipes-devtools/rpm/rpm_4.14.2.bb
parent715ec20c433cb4ed5fde938c33a42b2a296e4e56 (diff)
downloadopenembedded-core-contrib-a937cff2746073d1dea37d85e7305d8d6705ff28.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm_4.14.2.bb')
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.14.2.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_4.14.2.bb b/meta/recipes-devtools/rpm/rpm_4.14.2.bb
index 46f88375ff..200fe4da26 100644
--- a/meta/recipes-devtools/rpm/rpm_4.14.2.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.14.2.bb
@@ -39,6 +39,7 @@ SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.14.x \
file://0003-rpmstrpool.c-make-operations-over-string-pools-threa.patch \
file://0004-build-pack.c-remove-static-local-variables-from-buil.patch \
file://0001-perl-disable-auto-reqs.patch \
+ file://0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch \
"
PE = "1"