Dne 17. 03. 23 v 9:53 Joe (Jun-Yan) Chen napsal(a):
Dear Koji Development Team,
I hope this email finds you well. I am writing to seek your expertise about using QEMU as a Koji Builder to build packages for the aarch64 on the fedora platform.
When Koji invokes mock for building, it spends *a significant amount of time updating yum metadata*(≈15mins, <mirrors.kernel.org> set as external repo) resulting in taking 30 minutes to init buildroot alone (download speed≈2.8MB/s). I tried to use squid to cache mirror of fedora by modify /etc/kojid.com: yum_proxy = http://xxx:3128 but the "--installroot" process still costs a lot of time.
I would like to know if there is any information that I may have overlooked or any guidance or recommendations you may have to speed up init buildroot process on QEMU builder.
Thank you in advance for your time and consideration.
This is still valid and we use this setup in Copr builders
http://miroslav.suchy.cz/blog/archives/2015/05/28/increase_mock_performance_...
The other thing that speed Mock a lot is container image and nosync
https://rpm-software-management.github.io/mock/Feature-container-for-bootstr...
https://rpm-software-management.github.io/mock/Feature-nosync
Miroslav
koji-devel@lists.fedorahosted.org