On Monday, November 30, 2020 10:41:20 AM CET Miro Hrončok wrote: > > So perhaps we we shouldn't install packages from the side-tag into the > > bootstrap? > > Yes, that would be ideal.
So we'd have to have two repositories in Koji's mock config, e.g.: [build] enabled=0 baseurl=... .... [side-tag] enabled=1 baseurl=... ... And the config would have to have something like: config_opts['dnf_install_command'] += " --disablerepo=side-tag --enablerepo=build" It should make sure that DNF from [build] repo is installed. We have similar hack [1] in mock-core-configs for the el6/7 chroots with scl repositories, because some historically shipped SCLs had broken Provides: that were breaking the bootstrap chroot install transaction. [1] https://github.com/rpm-software-management/mock/blob/70ab0b923c9d65e29c113379e66ef05251e9a201/mock-core-configs/etc/mock/templates/centos-7.tpl#L10 > > Also note there's --use-bootstrap-image option that could help here. > > Do you think we could use that in Koji? Technically it should be possible. But AFAIK it's not yet widely tested feature (can be newly tested in Copr). The question is though what podman image to use in Koji. If we use the default one (e.g. fedora:33 for fedora-33-x86_64), it may not be updated often/fast enough. Also I'm not sure if we have podman support for all our architectures. Pavel _______________________________________________ buildsys mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
