forked from openshift/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
centos-7-and-extras-x86_64.cfg
48 lines (44 loc) · 1.42 KB
/
centos-7-and-extras-x86_64.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
config_opts['root'] = 'centos-and-extras-7-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
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 yum-utils unzip util-linux which xz python'
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
config_opts['releasever'] = '7'
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[base]
name=BaseOS
baseurl=http://mirror.centos.org/centos/7/os/x86_64/
failovermethod=priority
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-7
gpgcheck=1
[updates]
name=updates
enabled=1
baseurl=http://mirror.centos.org/centos/7/updates/x86_64/
failovermethod=priority
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-7
gpgcheck=1
[extras]
name=extras
enabled=1
baseurl=http://mirror.centos.org/centos/7/extras/x86_64/
failovermethod=priority
# Unfortunately the Provides: `python-docker-py` in `docker-python` has a higher
# NVR, so we need to override via excludes.
exclude=docker-python python-docker-py
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-7
gpgcheck=1
"""