config_opts['root'] = 'opensuse-tumbleweed-ppc64le' config_opts['target_arch'] = 'ppc64le' config_opts['legal_host_arches'] = ('ppc64le',) config_opts['chroot_setup_cmd'] = 'install patterns-devel-base-devel_rpm_build' config_opts['dist'] = 'tumbleweed' # only useful for --resultdir variable subst config_opts['extra_chroot_dirs'] = [ '/run/lock', ] config_opts['useradd'] = '/usr/sbin/useradd -o -m -u %(uid)s -g %(gid)s -d %(home)s %(user)s' config_opts['releasever'] = '0' config_opts['macros']['%dist'] = '.suse.tw%(. /etc/os-release; echo $VERSION_ID)' 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 best=1 excludepkgs=*.ppc,*.ppc64 # repos [opensuse-tumbleweed-oss] name=openSUSE Tumbleweed - ppc64le - OSS #baseurl=http://download.opensuse.org/ports/ppc/tumbleweed/repo/oss/ metalink=http://download.opensuse.org/ports/ppc/tumbleweed/repo/oss/repodata/repomd.xml.metalink gpgkey=file:///usr/share/distribution-gpg-keys/opensuse/RPM-GPG-KEY-openSUSE gpgcheck=1 """