Metadata for the CentOS-7 build
Fabian Arrotin
2018-02-12 9ab313690521ef421b3100e0d45a144938457090
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
config_opts['root'] = 'c71708-devtoolset-7-armhfp'
config_opts['target_arch'] = 'armv7hl'
config_opts['legal_host_arches'] = ('armv7l')
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 scl-utils scl-utils-build devtoolset-7-build'
config_opts['dist'] = 'el7'  # only useful for --resultdir variable subst
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['macros']['%dist'] = ".el7"
config_opts['%centos_ver'] = "7"
config_opts['macros']['%centos_ver'] = "7"
config_opts['macros']['%rhel'] = "7"
config_opts['macros']['%el7'] = "1"
config_opts['macros']['%redhat'] = "7"
config_opts['macros']['%vendor'] = "CentOS"
config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
config_opts['macros']['%_vendor'] = "redhat"
config_opts['macros']['%_vendor_host'] = "redhat"
config_opts['macros']['%_host'] = "armv7hl-redhat-linux-gnu"
#config_opts['macros']['%global _binaries_in_noarch_packages_terminate_build'] = "0"
 
# Added for devtoolset-6
config_opts['scl'] = "devtoolset-7"
 
 
# no ccache in base repo
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['plugin_conf']['yum_cache_enable'] = False
 
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
 
# repos
 
[c7.1511.00.armhfp]
name=c7.1511.00.armhfp
baseurl=http://repohost/repo/c7.1511.00.armhfp/
enabled=1
gpgcheck=0
 
[c7.1511.u.armhfp]
name=c7.1511.u.armhfp
baseurl=http://repohost/repo/c7.1511.u.armhfp/
enabled=1
gpgcheck=0
 
[c7.1611.00.armhfp]
name=c7.1611.00.armhfp
baseurl=http://repohost/repo/c7.1611.00.armhfp/
enabled=1
gpgcheck=0
 
[c7.1611.u.armhfp]
name=c7.1611.u.armhfp
baseurl=http://repohost/repo/c7.1611.u.armhfp/
enabled=1
gpgcheck=0
 
[c7.1708.00.armhfp]
name=c7.1708.00.armhfp
baseurl=http://repohost/repo/c7.1708.00.armhfp/
enabled=1
gpgcheck=0
 
[c7.1708.devtoolset-7.armhfp]
name=c7.1708.devtoolset-7.armhfp
baseurl=http://repohost/repo/c7.1708.devtoolset-7.armhfp/
enabled=1
gpgcheck=0
 
 
 
"""