summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm_4.14.1.bb
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2018-05-31 09:42:28 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-04 15:15:00 +0100
commitb7f6638962b0348ae93c1d5a7696c80e2b7933ed (patch)
treef4acae06d82634aea24d378f2ec3a16d7abb95cc /meta/recipes-devtools/rpm/rpm_4.14.1.bb
parent9a773747c2af183554b35d45a3355418815bde98 (diff)
downloadpoky-b7f6638962b0348ae93c1d5a7696c80e2b7933ed.tar.gz
rpm: Restore performance in Docker containers
If the maximum number of open file descriptors is much greater than the usual 1024 (for example inside a Docker container), the performance drops significantly. This was reported upstream in: https://bugzilla.redhat.com/show_bug.cgi?id=1537564 which resulted in: https://github.com/rpm-software-management/rpm/pull/444 The pull request above has now been integrated and this commit contains a backport of its three patches, which together change the behavior of rpm so that its performance is now independent of the maximum number of open file descriptors. (From OE-Core rev: 7feed9ccfc4e656c6264f07e13d7e9ef69bdfb06) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm_4.14.1.bb')
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.14.1.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_4.14.1.bb b/meta/recipes-devtools/rpm/rpm_4.14.1.bb
index ef4b737e9b..e5e87d3903 100644
--- a/meta/recipes-devtools/rpm/rpm_4.14.1.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.14.1.bb
@@ -40,6 +40,9 @@ SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.14.x \
40 file://0004-build-pack.c-remove-static-local-variables-from-buil.patch \ 40 file://0004-build-pack.c-remove-static-local-variables-from-buil.patch \
41 file://0001-perl-disable-auto-reqs.patch \ 41 file://0001-perl-disable-auto-reqs.patch \
42 file://0001-configure.ac-add-option-for-dbus.patch \ 42 file://0001-configure.ac-add-option-for-dbus.patch \
43 file://0001-Factor-out-and-unify-setting-CLOEXEC.patch \
44 file://0002-Optimize-rpmSetCloseOnExec.patch \
45 file://0003-rpmSetCloseOnExec-use-getrlimit.patch \
43 " 46 "
44 47
45PE = "1" 48PE = "1"