summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/recipes-devtools/rpm/rpm_%.bbappend
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-07-27 03:54:43 +0000
committerStéphane Desneux <stephane.desneux@iot.bzh>2018-09-10 21:29:43 +0000
commita8bf787b4232beef67a3643d858166f776bb829d (patch)
treed80291eea2e15c7068069975bf27f7b74c3bfe11 /meta-agl-profile-core/recipes-devtools/rpm/rpm_%.bbappend
parent1ac6af91ece51cfd170920d602aa476a2ad2ec9c (diff)
Fix do_rootfs eats huge time on docker environment
RPM is causing a serious performance regression on Docker. Docker can set ulimit -n to 1048576 but it causes huge time consumption when thousands of packages are installed like bitbake agl-demo-platform. This issue is already resolved in upstream of RPM and yocto follows it at sumo, so backporting it into Flounder. (From OE-Core rev: 6ecb10e3952af4a77bc79160ecd81117e97d022a) Bug-AGL: SPEC-1622 Change-Id: Ia8d97daea663f9682928a14ab84199ed6fda6d61 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'meta-agl-profile-core/recipes-devtools/rpm/rpm_%.bbappend')
-rw-r--r--meta-agl-profile-core/recipes-devtools/rpm/rpm_%.bbappend7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-agl-profile-core/recipes-devtools/rpm/rpm_%.bbappend b/meta-agl-profile-core/recipes-devtools/rpm/rpm_%.bbappend
new file mode 100644
index 000000000..1333a97c0
--- /dev/null
+++ b/meta-agl-profile-core/recipes-devtools/rpm/rpm_%.bbappend
@@ -0,0 +1,7 @@
+FILESEXTRAPATHS_append := ":${THISDIR}/files"
+
+SRC_URI_append = "\
+ file://0001-Factor-out-and-unify-setting-CLOEXEC.patch \
+ file://0002-Optimize-rpmSetCloseOnExec.patch \
+ file://0003-rpmSetCloseOnExec-use-getrlimit.patch \
+"