Additionally, the config in attachemnt will use fedora-33 for bootstrap and fedora-34 for
building.
Here is the important part:
config_opts['use_bootstrap'] = True
config_opts['use_bootstrap_image'] = True
config_opts['bootstrap_image'] = 'fedora:33'
config_opts['target_arch'] = 'x86_64'
config_opts['root'] = 'fedora-rawhide-{{ target_arch }}'
config_opts['bootstrap_root'] = 'fedora-33-{{ target_arch }}'
config_opts['chroot_name'] = 'fedora-rawhide-{{ target_arch }}'
config_opts['bootstrap_chroot_name'] = 'fedora-33-{{ target_arch }}'
config_opts['releasever'] = 34
config_opts['bootstrap_releasever'] = 33
Disclaimer - I believe that this can be even simplier.
Functional one is in the attachement.
If you will fiddle with:
config_opts['bootstra_dnf.conf']
than you can skip that bootstrap image if that would be a problem for Koji.
--
Miroslav Suchy, RHCA
Red Hat, Associate Manager ABRT/Copr, #brno, #fedora-buildsys