|
|
4fec94 |
config_opts['root'] = 'cah-0.0.1-x86_64'
|
|
|
4fec94 |
config_opts['basedir'] = 'MOCKROOT'
|
|
|
4fec94 |
config_opts['target_arch'] = 'x86_64'
|
|
|
4fec94 |
config_opts['legal_host_arches'] = ('x86_64',)
|
|
|
4fec94 |
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'
|
|
|
4fec94 |
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
|
|
|
4fec94 |
|
|
|
4fec94 |
config_opts['%centos_ver'] = "7"
|
|
|
4fec94 |
config_opts['macros']['%centos_ver'] = "7"
|
|
|
4fec94 |
config_opts['macros']['%rhel'] = "7"
|
|
|
4fec94 |
config_opts['macros']['%el7'] = "1"
|
|
|
4fec94 |
config_opts['macros']['%redhat'] = "7"
|
|
|
4fec94 |
config_opts['macros']['%vendor'] = "CentOS"
|
|
|
4fec94 |
config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
|
|
|
4fec94 |
config_opts['macros']['%_vendor'] = "redhat"
|
|
|
4fec94 |
config_opts['macros']['%_vendor_host'] = "redhat"
|
|
|
4fec94 |
config_opts['macros']['%_host'] = "x86_64-redhat-linux-gnu"
|
|
|
4fec94 |
|
|
|
4fec94 |
|
|
|
4fec94 |
config_opts['yum.conf'] = """
|
|
|
4fec94 |
[main]
|
|
|
4fec94 |
cachedir=/var/cache/yum
|
|
|
4fec94 |
debuglevel=1
|
|
|
4fec94 |
reposdir=/dev/null
|
|
|
4fec94 |
logfile=/var/log/yum.log
|
|
|
4fec94 |
retries=20
|
|
|
4fec94 |
obsoletes=1
|
|
|
4fec94 |
gpgcheck=0
|
|
|
4fec94 |
assumeyes=1
|
|
|
4fec94 |
syslog_ident=mock
|
|
|
4fec94 |
syslog_device=
|
|
|
4fec94 |
|
|
|
4fec94 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
29517e |
exclude=systemd-container* fakesystemd
|
|
|
4fec94 |
|
|
|
4fec94 |
# repos
|
|
|
29517e |
|
|
|
29517e |
[c7-extras]
|
|
|
29517e |
name=c7-extras
|
|
|
29517e |
enabled=1
|
|
|
29517e |
cost=2250
|
|
|
29517e |
baseurl=http://repohost/tmp/repo/c7-extras/
|
|
|
29517e |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
29517e |
exclude=*.i686
|
|
|
29517e |
|
|
|
4fec94 |
[c7.00.04]
|
|
|
4fec94 |
name=c7.00.04
|
|
|
4fec94 |
enabled=1
|
|
|
4fec94 |
cost=1500
|
|
|
4fec94 |
baseurl=http://repohost/tmp/repo/c7.00.04/
|
|
|
4fec94 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
4fec94 |
|
|
|
4fec94 |
[c7.00.03]
|
|
|
4fec94 |
name=c7.00.03
|
|
|
4fec94 |
enabled=1
|
|
|
4fec94 |
cost=1750
|
|
|
4fec94 |
baseurl=http://repohost/tmp/repo/c7.00.03/
|
|
|
4fec94 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
4fec94 |
|
|
|
4fec94 |
[c7.00.02]
|
|
|
4fec94 |
name=c7.00.02
|
|
|
4fec94 |
enabled=1
|
|
|
4fec94 |
cost=2000
|
|
|
4fec94 |
baseurl=http://repohost/tmp/repo/c7.00.02/
|
|
|
4fec94 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
4fec94 |
|
|
|
4fec94 |
[c7-updates]
|
|
|
4fec94 |
name=c7-updates
|
|
|
4fec94 |
enabled=1
|
|
|
4fec94 |
cost=1250
|
|
|
4fec94 |
baseurl=http://repohost/tmp/repo/c7-updates/
|
|
|
4fec94 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
4fec94 |
|
|
|
4fec94 |
[c7.01.00]
|
|
|
4fec94 |
name=c7.01.00
|
|
|
4fec94 |
enabled=1
|
|
|
4fec94 |
cost=1000
|
|
|
4fec94 |
baseurl=http://repohost/tmp/repo/c7.01.00/
|
|
|
4fec94 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
4fec94 |
|
|
|
4fec94 |
[c7.01.u]
|
|
|
4fec94 |
name=c7.01.u
|
|
|
4fec94 |
enabled=1
|
|
|
4fec94 |
cost=750
|
|
|
4fec94 |
baseurl=http://repohost/tmp/repo/c7.01.u/
|
|
|
4fec94 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
4fec94 |
|
|
|
715b78 |
[c7.1511.00]
|
|
|
715b78 |
name=c7.1511.00
|
|
|
715b78 |
enabled=1
|
|
|
715b78 |
cost=700
|
|
|
715b78 |
baseurl=http://repohost/tmp/repo/c7.1511.00/
|
|
|
715b78 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
715b78 |
|
|
|
715b78 |
[c7.1511.u]
|
|
|
715b78 |
name=c7.1511.u
|
|
|
715b78 |
enabled=1
|
|
|
715b78 |
cost=690
|
|
|
715b78 |
baseurl=http://repohost/tmp/repo/c7.1511.u/
|
|
|
715b78 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
715b78 |
|
|
|
4fec94 |
[cah-0.0.1]
|
|
|
4fec94 |
name=cah-0.0.1
|
|
|
4fec94 |
enable=1
|
|
|
4fec94 |
cost=500
|
|
|
4fec94 |
baseurl=http://repohost/tmp/repo/cah-0.0.1/
|
|
|
4fec94 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
4fec94 |
|
|
|
4fec94 |
"""
|