1aa885 Add special cases for 7.6.1810, second part

Authored and Committed by pgreco 6 years ago
    Add special cases for 7.6.1810, second part
    
        
mock/pki-core-10.5.9-6.el7.armhfp.cfg ADDED
@@ -0,0 +1,95 @@
1
+ config_opts['root'] = 'TARGETNAME'
2
+ config_opts['target_arch'] = 'armv7hl'
3
+ config_opts['legal_host_arches'] = ('armv7l')
4
+ 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 python-javapackages libxslt'
5
+ config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
6
+ config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
7
+ config_opts['macros']['%dist'] = ".el7"
8
+ config_opts['%centos_ver'] = "7"
9
+ config_opts['macros']['%centos_ver'] = "7"
10
+ config_opts['macros']['%rhel'] = "7"
11
+ config_opts['macros']['%el7'] = "1"
12
+ config_opts['macros']['%redhat'] = "7"
13
+ config_opts['macros']['%vendor'] = "CentOS"
14
+ config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
15
+ config_opts['macros']['%_vendor'] = "redhat"
16
+ config_opts['macros']['%_vendor_host'] = "redhat"
17
+ config_opts['macros']['%_host'] = "armv7hl-redhat-linux-gnu"
18
+ #config_opts['macros']['%global _binaries_in_noarch_packages_terminate_build'] = "0"
19
+
20
+ # no ccache in base repo
21
+ config_opts['plugin_conf']['ccache_enable'] = False
22
+ config_opts['plugin_conf']['yum_cache_enable'] = False
23
+
24
+ config_opts['yum.conf'] = """
25
+ [main]
26
+ cachedir=/var/cache/yum
27
+ keepcache=1
28
+ debuglevel=2
29
+ reposdir=/dev/null
30
+ logfile=/var/log/yum.log
31
+ retries=20
32
+ obsoletes=1
33
+ gpgcheck=0
34
+ assumeyes=1
35
+ syslog_ident=mock
36
+ syslog_device=
37
+
38
+ # repos
39
+
40
+ [c7.1511.00.armhfp]
41
+ name=c7.1511.00.armhfp
42
+ baseurl=http://repohost/repo/c7.1511.00.armhfp/
43
+ enabled=1
44
+ gpgcheck=0
45
+
46
+ [c7.1511.u.armhfp]
47
+ name=c7.1511.u.armhfp
48
+ baseurl=http://repohost/repo/c7.1511.u.armhfp/
49
+ enabled=1
50
+ gpgcheck=0
51
+
52
+ [c7.1611.00.armhfp]
53
+ name=c7.1611.00.armhfp
54
+ baseurl=http://repohost/repo/c7.1611.00.armhfp/
55
+ enabled=1
56
+ gpgcheck=0
57
+
58
+ [c7.1611.u.armhfp]
59
+ name=c7.1611.u.armhfp
60
+ baseurl=http://repohost/repo/c7.1611.u.armhfp/
61
+ enabled=1
62
+ gpgcheck=0
63
+
64
+ [c7.1708.00.armhfp]
65
+ name=c7.1708.00.armhfp
66
+ baseurl=http://repohost/repo/c7.1708.00.armhfp/
67
+ enabled=1
68
+ gpgcheck=0
69
+
70
+ [c7.1708.u.armhfp]
71
+ name=c7.1708.u.armhfp
72
+ baseurl=http://repohost/repo/c7.1708.u.armhfp/
73
+ enabled=1
74
+ gpgcheck=0
75
+
76
+ [c7.1804.00.armhfp]
77
+ name=c7.1804.00.armhfp
78
+ baseurl=http://repohost/repo/c7.1804.00.armhfp/
79
+ enabled=1
80
+ gpgcheck=0
81
+
82
+ [c7.1804.u.armhfp]
83
+ name=c7.1804.u.armhfp
84
+ baseurl=http://repohost/repo/c7.1804.u.armhfp/
85
+ enabled=1
86
+ gpgcheck=0
87
+
88
+ [c7.1810.00.armhfp]
89
+ name=c7.1810.00.armhfp
90
+ baseurl=http://repohost/repo/c7.1810.00.armhfp/
91
+ enabled=1
92
+ gpgcheck=0
93
+
94
+ """
95
+