On 4 May 2018 at 14:41, Alexander Kanavin <alexander.kana...@linux.intel.com> wrote: > On 05/04/2018 03:42 PM, Paulo Neves wrote: >> >> I will propose a patch with a default bb.debug, and always have the >> verbose on dnf. Let's see how it affects the performance. I cannot >> test this in a docker container because of the problems described >> below: >> >> In the mean time I found what was happening with my slow do_rootfs. I >> was running bitbake with RPM packaging in a docker instance. It seems >> there is a problem with RPM/dnf in bitbake where it is extremely slow >> inside a docker container (1 file per second). After changing to IPK >> packages everything went smoothly. >> >> Others have had the same problem[1]. I will later report this to >> openembedded mailing list as this effectively makes RPM unusable in a >> container. I will also provide a Dockerfile to reproduce this problem. >> >> [1] https://github.com/moby/moby/issues/23137#issuecomment-359097008 > > > No need to report. We have already fixed this and reported upstream: > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/rpm/files/0001-Revert-Set-FD_CLOEXEC-on-opened-files-before-exec-fr.patch
I have also been bitten by rpm performance issues in docker and glad that I found this. I am in the process of verifying above (on pyro branch). Is this patch on its way to pyro and rocko branches? -- Med Vänliga Hälsningar / Best Regards Mirza Krak -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto