|
|
a6aa09 |
config_opts['root'] = 'TARGETNAME'
|
|
|
a6aa09 |
config_opts['target_arch'] = 'noarch'
|
|
|
a6aa09 |
config_opts['legal_host_arches'] = ('noarch','x86_64',)
|
|
|
a6aa09 |
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'
|
|
|
a6aa09 |
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
|
|
|
a6aa09 |
|
|
|
a6aa09 |
config_opts['%centos_ver'] = "7"
|
|
|
a6aa09 |
config_opts['macros']['%centos_ver'] = "7"
|
|
|
a6aa09 |
config_opts['macros']['%rhel'] = "7"
|
|
|
a6aa09 |
config_opts['macros']['%el7'] = "1"
|
|
|
a6aa09 |
config_opts['macros']['%redhat'] = "7"
|
|
|
a6aa09 |
config_opts['macros']['%vendor'] = "CentOS"
|
|
|
a6aa09 |
config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
|
|
|
a6aa09 |
config_opts['macros']['%_vendor'] = "redhat"
|
|
|
a6aa09 |
config_opts['macros']['%_vendor_host'] = "redhat"
|
|
|
a6aa09 |
config_opts['macros']['%_host'] = "x86_64-redhat-linux-gnu"
|
|
|
a6aa09 |
|
|
|
a6aa09 |
|
|
|
a6aa09 |
config_opts['yum.conf'] = """
|
|
|
a6aa09 |
[main]
|
|
|
a6aa09 |
cachedir=/var/cache/yum
|
|
|
a6aa09 |
debuglevel=1
|
|
|
a6aa09 |
reposdir=/dev/null
|
|
|
a6aa09 |
logfile=/var/log/yum.log
|
|
|
a6aa09 |
retries=20
|
|
|
a6aa09 |
obsoletes=1
|
|
|
a6aa09 |
gpgcheck=0
|
|
|
a6aa09 |
assumeyes=1
|
|
|
a6aa09 |
syslog_ident=mock
|
|
|
a6aa09 |
syslog_device=
|
|
|
a6aa09 |
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
# repos
|
|
|
a6aa09 |
[c7.00.04]
|
|
|
a6aa09 |
name=c7.00.04
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
cost=1500
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.00.04/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.00.03]
|
|
|
a6aa09 |
name=c7.00.03
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
cost=1750
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.00.03/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.00.02]
|
|
|
a6aa09 |
name=c7.00.02
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
cost=2000
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.00.02/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7-updates]
|
|
|
a6aa09 |
name=c7-updates
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
cost=1250
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7-updates/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.01.00]
|
|
|
a6aa09 |
name=c7.01.00
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
cost=1000
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.01.00/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.01.u]
|
|
|
a6aa09 |
name=c7.01.u
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
cost=750
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.01.u/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.1511.00]
|
|
|
a6aa09 |
name=c7.1511.00
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
cost=700
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.1511.00/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.1611.00]
|
|
|
a6aa09 |
name=c7.1611.00
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
cost=650
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.1611.00/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.1611.01]
|
|
|
a6aa09 |
name=c7.1611.01
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
cost=650
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.1611.01/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.1511.u]
|
|
|
a6aa09 |
name=c7.1511.u
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
cost=675
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.1511.u/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.1611.u]
|
|
|
a6aa09 |
name=c7.1611.u
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
cost=625
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.1611.u/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.1708.00]
|
|
|
a6aa09 |
name=c7.1708.00
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.1708.00/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.1708.u.x86_64]
|
|
|
a6aa09 |
name=c7.1708.u.x86_64
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.1708.u.x86_64/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.1804.00.x86_64]
|
|
|
a6aa09 |
name=c7.1804.u.x86_64
|
|
|
a6aa09 |
enabled=1
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.1804.00.x86_64/
|
|
|
a6aa09 |
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
|
|
|
a6aa09 |
|
|
|
a6aa09 |
"""
|