config_opts['root'] = 'fedora-28-ppc64le' config_opts['target_arch'] = 'ppc64le' config_opts['legal_host_arches'] = ('ppc64le',) config_opts['chroot_setup_cmd'] = 'install @buildsys-build' config_opts['dist'] = 'fc28' # only useful for --resultdir variable subst config_opts['extra_chroot_dirs'] = [ '/run/lock', ] config_opts['releasever'] = '28' config_opts['package_manager'] = 'dnf' config_opts['yum.conf'] = """ [main] keepcache=1 debuglevel=2 reposdir=/dev/null logfile=/var/log/yum.log retries=20 obsoletes=1 gpgcheck=0 assumeyes=1 syslog_ident=mock syslog_device= install_weak_deps=0 metadata_expire=0 mdpolicy=group:primary best=1 # repos [fedora] name=fedora metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch gpgkey=file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-28-primary gpgcheck=1 skip_if_unavailable=False [updates] name=updates metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch gpgkey=file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-28-primary gpgcheck=1 skip_if_unavailable=False [updates-testing] name=updates-testing metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch enabled=0 skip_if_unavailable=False [local] name=local baseurl=http://ppcpkgs.fedoraproject.org/repos/f28-build/latest/ppc64le/ cost=2000 enabled=0 skip_if_unavailable=False [fedora-debuginfo] name=fedora-debuginfo metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch enabled=0 skip_if_unavailable=False [updates-debuginfo] name=updates-debuginfo metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch enabled=0 skip_if_unavailable=False [updates-testing-debuginfo] name=updates-testing-debuginfo metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch enabled=0 skip_if_unavailable=False """