config_opts['root'] = 'opensuse-tumbleweed-i586' config_opts['target_arch'] = 'i586' config_opts['legal_host_arches'] = ('i386', 'i586', 'i686', 'x86_64') 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%(sh -c ". /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=*.x86_64 # repos [opensuse-tumbleweed-oss] name=openSUSE Tumbleweed - i586 - OSS #baseurl=http://download.opensuse.org/tumbleweed/repo/oss/ metalink=http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.metalink gpgkey=file:///usr/share/distribution-gpg-keys/opensuse/RPM-GPG-KEY-openSUSE gpgcheck=1 """