|
Karanbir Singh |
517908 |
config_opts['root'] = 'rhel-7b1-i386'
|
|
Karanbir Singh |
517908 |
config_opts['basedir'] = 'MOCKROOT'
|
|
Karanbir Singh |
517908 |
config_opts['target_arch'] = 'x86_64'
|
|
Karanbir Singh |
517908 |
config_opts['legal_host_arches'] = ('x86_64',)
|
|
Karanbir Singh |
517908 |
config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils system-release findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz'
|
|
Karanbir Singh |
517908 |
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
|
|
Karanbir Singh |
517908 |
config_opts['%centos_ver'] = '7'
|
|
Karanbir Singh |
517908 |
config_opts['macros']['%centos_ver'] = "7"
|
|
Karanbir Singh |
517908 |
config_opts['macros']['%rhel'] = "7"
|
|
Karanbir Singh |
517908 |
config_opts['macros']['%el7'] = "1"
|
|
Karanbir Singh |
517908 |
config_opts['macros']['%redhat'] = "7"
|
|
Karanbir Singh |
517908 |
config_opts['macros']['%vendor'] = "CentOS"
|
|
Karanbir Singh |
517908 |
config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
|
|
Karanbir Singh |
517908 |
config_opts['macros']['%_vendor'] = "redhat"
|
|
Karanbir Singh |
517908 |
config_opts['macros']['%_vendor_host'] = "redhat"
|
|
Karanbir Singh |
517908 |
config_opts['macros']['%_host'] = "i386-redhat-linux-gnu"
|
|
Karanbir Singh |
517908 |
|
|
Karanbir Singh |
517908 |
|
|
Karanbir Singh |
517908 |
|
|
Karanbir Singh |
517908 |
config_opts['yum.conf'] = """
|
|
Karanbir Singh |
517908 |
[main]
|
|
Karanbir Singh |
517908 |
cachedir=/var/cache/yum
|
|
Karanbir Singh |
517908 |
debuglevel=1
|
|
Karanbir Singh |
517908 |
reposdir=/dev/null
|
|
Karanbir Singh |
517908 |
logfile=/var/log/yum.log
|
|
Karanbir Singh |
517908 |
retries=20
|
|
Karanbir Singh |
517908 |
obsoletes=1
|
|
Karanbir Singh |
517908 |
gpgcheck=0
|
|
Karanbir Singh |
517908 |
assumeyes=1
|
|
Karanbir Singh |
517908 |
syslog_ident=mock
|
|
Karanbir Singh |
517908 |
syslog_device=
|
|
Karanbir Singh |
517908 |
|
|
Karanbir Singh |
517908 |
exclude=*.x86_64
|
|
Karanbir Singh |
517908 |
|
|
Karanbir Singh |
517908 |
# repos
|
|
Karanbir Singh |
517908 |
[base]
|
|
Karanbir Singh |
517908 |
name=BaseOS
|
|
Karanbir Singh |
517908 |
enabled=1
|
|
Karanbir Singh |
517908 |
baseurl=http://repohost/tmp/mirror/r7b1/
|
|
Karanbir Singh |
517908 |
|
|
Karanbir Singh |
517908 |
[r7b1]
|
|
Karanbir Singh |
517908 |
name=r7b1
|
|
Karanbir Singh |
517908 |
enabled=1
|
|
Karanbir Singh |
517908 |
baseurl=http://repohost/tmp/repo/r7b1/
|
|
Karanbir Singh |
517908 |
"""
|