Fix do_rootfs eats huge time on docker environment 97/15797/11
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Fri, 27 Jul 2018 03:54:43 +0000 (03:54 +0000)
committerStéphane Desneux <stephane.desneux@iot.bzh>
Mon, 10 Sep 2018 21:29:43 +0000 (21:29 +0000)
commita8bf787b4232beef67a3643d858166f776bb829d
treed80291eea2e15c7068069975bf27f7b74c3bfe11
parent1ac6af91ece51cfd170920d602aa476a2ad2ec9c
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>
meta-agl-profile-core/recipes-devtools/rpm/files/0001-Factor-out-and-unify-setting-CLOEXEC.patch [new file with mode: 0644]
meta-agl-profile-core/recipes-devtools/rpm/files/0002-Optimize-rpmSetCloseOnExec.patch [new file with mode: 0644]
meta-agl-profile-core/recipes-devtools/rpm/files/0003-rpmSetCloseOnExec-use-getrlimit.patch [new file with mode: 0644]
meta-agl-profile-core/recipes-devtools/rpm/rpm_%.bbappend [new file with mode: 0644]