smeserver-mock/root/etc/mock/smeserver-10-x86_64-iso.cfg

110 lines
3.1 KiB
INI

config_opts['package_manager'] = 'yum'
config_opts['use_nspawn'] = False
config_opts['root'] = 'smeserver-10-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['dist'] = '.el7.sme'
config_opts['plugin_conf']['ccache_opts']['dir'] = "%(cache_topdir)s/ccache/x86_64/"
config_opts['macros']['%distribution'] = "SME Server v10"
config_opts['macros']['%packager'] = "Koozali.org <http://www.koozali.org>"
config_opts['macros']['%vendor'] = "Koozali.org <http://www.koozali.org>"
config_opts['macros']['%dist'] = ".el7.sme"
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
logfile=/var/log/yum.log
reposdir=/dev/null
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
#exclude=[1-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86
[os]
name=os
baseurl=http://buildsys.koozali.org/build/7/os/x86_64
exclude=buildsys-macros
[updates]
name=updates
baseurl=http://buildsys.koozali.org/build/7/updates/x86_64
exclude=buildsys-macros
[smeos]
name=os
baseurl=http://buildsys.koozali.org/build/10/smeos/x86_64
exclude=buildsys-macros
[smeupdates]
name=os
baseurl=http://buildsys.koozali.org/build/10/smeupdates/x86_64
exclude=buildsys-macros
[fastrack]
name=fastrack
baseurl=http://buildsys.koozali.org/build/7/fastrack/x86_64
# centos cr
[opt1]
name=opt1
baseurl=http://buildsys.koozali.org/build/7/opt1/x86_64
# centos extra
[opt2]
name=opt2
baseurl=http://buildsys.koozali.org/build/7/opt2/x86_64
# Not used
[opt3]
name=opt3
baseurl=http://buildsys.koozali.org/build/7/opt3/x86_64
[epel]
name=epel
baseurl=http://buildsys.koozali.org/build/7/epel/x86_64
includepkgs=ccache mhash* perl-Taint-Util libdb4 libdb4-devel repoview python-kid
#[rpmforge]
#name=rpmforge
#baseurl=http://buildsys.koozali.org/build/7/rpmforge/x86_64
#includepkgs=perl-Taint-Util
[buildsys-core]
name=buildsys-core
baseurl=http://buildsys.koozali.org/build/10/smeserver-core/x86_64
includepkgs=bglibs buildsys-macros cvm* dietlibc* e-smith-devtools perl-Test-Inline perl-IO-Socket-IP perl-Geography-Countries perl-Object-Persistence zsync jigdo
[groups]
name=groups
baseurl=http://buildsys.koozali.org/build/10/smeserver-groups/x86_64
"""
config_opts['cleanup_on_failure'] = 0
config_opts['cleanup_on_success'] = 0
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['plugin_conf']['root_cache_enable'] = False
config_opts['plugin_conf']['tmpfs_enable'] = False
config_opts['chroot_setup_cmd'] = 'groupinstall build iso-build'
config_opts['chrootuid'] = os.getuid()
config_opts['plugins'].append('iso_prepare')
config_opts['plugin_conf']['iso_prepare_enable'] = True
config_opts['plugin_conf']['iso_prepare_opts'] = {}
config_opts['plugin_conf']['mount_enable'] = True
config_opts['plugin_conf']['mount_opts'] = {}
config_opts['plugin_conf']['mount_opts']['dirs'] = []
config_opts['plugin_conf']['mount_opts']['dirs'].append(('files.koozali.org:/build', '/build', 'nfs', 'defaults,noatime,nodiratime,nosuid'))
config_opts['plugin_conf']['mount_opts']['dirs'].append(('files.koozali.org:/mirrors', '/mirrors', 'nfs', 'defaults,noatime,nodiratime,nosuid'))