config_opts['root'] = 'BUILD_ENV/mock' config_opts['target_arch'] = 'x86_64' config_opts['legal_host_arches'] = ('x86_64',) config_opts['chroot_setup_cmd'] = 'install @buildsys-build' config_opts['dist'] = 'el7' # only useful for --resultdir variable subst config_opts['releasever'] = '7' config_opts['package_manager'] = 'yum' config_opts['yum_builddep_command'] = 'MY_REPO_DIR/build-tools/yum-builddep-wrapper' config_opts['use_bootstrap'] = False config_opts['use_bootstrap_image'] = False config_opts['rpmbuild_networking'] = False 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= # repos [local-std] name=local-std baseurl=LOCAL_BASE/MY_BUILD_DIR/std/rpmbuild/RPMS enabled=1 skip_if_unavailable=1 metadata_expire=0 [local-rt] name=local-rt baseurl=LOCAL_BASE/MY_BUILD_DIR/rt/rpmbuild/RPMS enabled=1 skip_if_unavailable=1 metadata_expire=0 [local-installer] name=local-installer baseurl=LOCAL_BASE/MY_BUILD_DIR/installer/rpmbuild/RPMS enabled=1 skip_if_unavailable=1 metadata_expire=0 [StxCentos7Distro] name=Stx-Centos-7-Distro enabled=1 baseurl=LOCAL_BASE/MY_REPO_DIR/centos-repo/Binary failovermethod=priority [StxCentos7Distro-rt] name=Stx-Centos-7-Distro-rt enabled=1 baseurl=LOCAL_BASE/MY_REPO_DIR/centos-repo/rt/Binary failovermethod=priority """