|
|
7e8130 |
config_opts['root'] = 'c7-extras-x86_64'
|
|
|
3d86e6 |
config_opts['basedir'] = 'MOCKROOT'
|
|
|
3d86e6 |
config_opts['target_arch'] = 'x86_64'
|
|
|
3d86e6 |
config_opts['legal_host_arches'] = ('x86_64',)
|
|
|
3d86e6 |
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'
|
|
|
3d86e6 |
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
|
|
|
3d86e6 |
|
|
|
3d86e6 |
config_opts['%centos_ver'] = "7"
|
|
|
3d86e6 |
config_opts['macros']['%centos_ver'] = "7"
|
|
|
3d86e6 |
config_opts['macros']['%rhel'] = "7"
|
|
|
3d86e6 |
config_opts['macros']['%el7'] = "1"
|
|
|
3d86e6 |
config_opts['macros']['%redhat'] = "7"
|
|
|
3d86e6 |
config_opts['macros']['%vendor'] = "CentOS"
|
|
|
3d86e6 |
config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
|
|
|
3d86e6 |
config_opts['macros']['%_vendor'] = "redhat"
|
|
|
3d86e6 |
config_opts['macros']['%_vendor_host'] = "redhat"
|
|
|
3d86e6 |
config_opts['macros']['%_host'] = "x86_64-redhat-linux-gnu"
|
|
|
3d86e6 |
|
|
|
3d86e6 |
|
|
|
3d86e6 |
config_opts['yum.conf'] = """
|
|
|
3d86e6 |
[main]
|
|
|
3d86e6 |
cachedir=/var/cache/yum
|
|
|
3d86e6 |
debuglevel=1
|
|
|
3d86e6 |
reposdir=/dev/null
|
|
|
3d86e6 |
logfile=/var/log/yum.log
|
|
|
3d86e6 |
retries=20
|
|
|
3d86e6 |
obsoletes=1
|
|
|
3d86e6 |
gpgcheck=0
|
|
|
3d86e6 |
assumeyes=1
|
|
|
3d86e6 |
syslog_ident=mock
|
|
|
3d86e6 |
syslog_device=
|
|
|
3d86e6 |
|
|
|
3d86e6 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
62ec43 |
exclude=redhat-logos redhat-release* fakesystemd systemd-container*
|
|
|
3d86e6 |
|
|
|
3d86e6 |
# repos
|
|
|
3d86e6 |
[c7.00.04]
|
|
|
3d86e6 |
name=c7.00.04
|
|
|
3d86e6 |
enabled=1
|
|
|
4609f8 |
cost=1500
|
|
|
3d86e6 |
baseurl=http://repohost/tmp/repo/c7.00.04/
|
|
|
3d86e6 |
|
|
|
62ec43 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
3d86e6 |
|
|
|
3d86e6 |
[c7.00.03]
|
|
|
3d86e6 |
name=c7.00.03
|
|
|
3d86e6 |
enabled=1
|
|
|
4609f8 |
cost=1750
|
|
|
3d86e6 |
baseurl=http://repohost/tmp/repo/c7.00.03/
|
|
|
62ec43 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
3d86e6 |
|
|
|
3d86e6 |
[c7.00.02]
|
|
|
3d86e6 |
name=c7.00.02
|
|
|
3d86e6 |
enabled=1
|
|
|
4609f8 |
cost=2000
|
|
|
3d86e6 |
baseurl=http://repohost/tmp/repo/c7.00.02/
|
|
|
62ec43 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
3d86e6 |
|
|
|
3d86e6 |
[c7-extras]
|
|
|
3d86e6 |
name=c7-extras
|
|
|
3d86e6 |
enabled=1
|
|
|
3d86e6 |
cost=500
|
|
|
3d86e6 |
baseurl=http://repohost/tmp/repo/c7-extras/
|
|
|
62ec43 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
71fc88 |
exclude=*.i686
|
|
|
3d86e6 |
|
|
|
8a71f3 |
[c7-updates]
|
|
|
8a71f3 |
name=c7-updates
|
|
|
8a71f3 |
enabled=1
|
|
|
4609f8 |
cost=1250
|
|
|
8a71f3 |
baseurl=http://repohost/tmp/repo/c7-updates/
|
|
|
62ec43 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
8a71f3 |
exclude=*.i686
|
|
|
8a71f3 |
|
|
|
4609f8 |
[c7.01.00]
|
|
|
4609f8 |
name=c7.01.00
|
|
|
4609f8 |
enabled=1
|
|
|
4609f8 |
cost=1000
|
|
|
4609f8 |
baseurl=http://repohost/tmp/repo/c7.01.00/
|
|
|
62ec43 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
4609f8 |
exclude=*.i686
|
|
|
4609f8 |
|
|
|
4609f8 |
|
|
|
4609f8 |
[c7.01.u]
|
|
|
4609f8 |
name=c7.01.u
|
|
|
4609f8 |
enabled=1
|
|
|
4609f8 |
cost=750
|
|
|
55cc80 |
baseurl=http://repohost/tmp/repo/c7.01.u/
|
|
|
62ec43 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
4609f8 |
exclude=*.i686
|
|
|
8a71f3 |
|
|
|
3d86e6 |
"""
|