include('/etc/mock/custom-1-x86_64.cfg') config_opts['root'] = '1044115-custom-1-x86_64' config_opts['nspawn_args'] = ['--capability=cap_ipc_lock'] config_opts['chroot_additional_packages'] = '@buildsys-build' config_opts['rpmbuild_networking'] = False config_opts['use_host_resolv'] = False config_opts['use_bootstrap_container'] = False config_opts['dnf.conf'] += """ [copr_base] name='Copr repository' baseurl=https://copr-be.cloud.fedoraproject.org/results/@spacewalkproject/java-packages/custom-1-x86_64/ gpgcheck=0 enabled=1 skip_if_unavailable=1 metadata_expire=0 cost=1 best=1 [https_archives_fedoraproject_org_pub_archive_fedora_linux_releases_26_Everything_basearch_os] name='Additional repo https_archives_fedoraproject_org_pub_archive_fedora_linux_releases_26_Everything_basearch_os' baseurl=https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/26/Everything/$basearch/os/ gpgcheck=0 enabled=1 skip_if_unavailable=1 metadata_expire=0 cost=1 best=1 [https_archives_fedoraproject_org_pub_archive_fedora_linux_updates_26_basearch] name='Additional repo https_archives_fedoraproject_org_pub_archive_fedora_linux_updates_26_basearch' baseurl=https://archives.fedoraproject.org/pub/archive/fedora/linux/updates/26/$basearch/ gpgcheck=0 enabled=1 skip_if_unavailable=1 metadata_expire=0 cost=1 best=1 [https_archives_fedoraproject_org_pub_archive_fedora_linux_releases_27_Everything_basearch_os] name='Additional repo https_archives_fedoraproject_org_pub_archive_fedora_linux_releases_27_Everything_basearch_os' baseurl=https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/27/Everything/$basearch/os/ gpgcheck=0 enabled=1 skip_if_unavailable=1 metadata_expire=0 cost=1 best=1 [https_archives_fedoraproject_org_pub_archive_fedora_linux_updates_27_basearch] name='Additional repo https_archives_fedoraproject_org_pub_archive_fedora_linux_updates_27_basearch' baseurl=https://archives.fedoraproject.org/pub/archive/fedora/linux/updates/27/$basearch/ gpgcheck=0 enabled=1 skip_if_unavailable=1 metadata_expire=0 cost=1 best=1 """