Blame mock/c7-go-toolset-7.armhfp.cfg

b73a02
config_opts['root'] = 'TARGETNAME'
b73a02
config_opts['target_arch'] = 'armv7hl'
b73a02
config_opts['legal_host_arches'] = ('armv7l')
b73a02
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-build go-toolset-7-build'
b73a02
config_opts['dist'] = 'el7'  # only useful for --resultdir variable subst
b73a02
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
b73a02
config_opts['macros']['%dist'] = ".el7"
b73a02
config_opts['%centos_ver'] = "7"
b73a02
config_opts['macros']['%centos_ver'] = "7"
b73a02
config_opts['macros']['%rhel'] = "7"
b73a02
config_opts['macros']['%el7'] = "1"
b73a02
config_opts['macros']['%redhat'] = "7"
b73a02
config_opts['macros']['%vendor'] = "CentOS"
b73a02
config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
b73a02
config_opts['macros']['%_vendor'] = "redhat"
b73a02
config_opts['macros']['%_vendor_host'] = "redhat"
b73a02
config_opts['macros']['%_host'] = "armv7hl-redhat-linux-gnu"
b73a02
#config_opts['macros']['%global _binaries_in_noarch_packages_terminate_build'] = "0"
b73a02
b73a02
# Added for go-toolset-6
b73a02
config_opts['scl'] = "go-toolset-7"
b73a02
b73a02
b73a02
# no ccache in base repo
b73a02
config_opts['plugin_conf']['ccache_enable'] = False
b73a02
config_opts['plugin_conf']['yum_cache_enable'] = False
b73a02
b73a02
config_opts['yum.conf'] = """
b73a02
[main]
b73a02
cachedir=/var/cache/yum
b73a02
keepcache=1
b73a02
debuglevel=2
b73a02
reposdir=/dev/null
b73a02
logfile=/var/log/yum.log
b73a02
retries=20
b73a02
obsoletes=1
b73a02
gpgcheck=0
b73a02
assumeyes=1
b73a02
syslog_ident=mock
b73a02
syslog_device=
b73a02
b73a02
# repos
b73a02
[c7-extras.armhfp]
b73a02
name=c7-extras.armhfp
b73a02
baseurl=http://repohost/repo/c7-extras.armhfp/
b73a02
gpgcheck=0
b73a02
b73a02
[c7.1511.00.armhfp]
b73a02
name=c7.1511.00.armhfp
b73a02
baseurl=http://repohost/repo/c7.1511.00.armhfp/
b73a02
enabled=1
b73a02
gpgcheck=0
b73a02
b73a02
[c7.1511.u.armhfp]
b73a02
name=c7.1511.u.armhfp
b73a02
baseurl=http://repohost/repo/c7.1511.u.armhfp/
b73a02
enabled=1
b73a02
gpgcheck=0
b73a02
b73a02
[c7.1611.00.armhfp]
b73a02
name=c7.1611.00.armhfp
b73a02
baseurl=http://repohost/repo/c7.1611.00.armhfp/
b73a02
enabled=1
b73a02
gpgcheck=0
b73a02
b73a02
[c7.1611.u.armhfp]
b73a02
name=c7.1611.u.armhfp
b73a02
baseurl=http://repohost/repo/c7.1611.u.armhfp/
b73a02
enabled=1
b73a02
gpgcheck=0
b73a02
b73a02
[c7.1708.00.armhfp]
b73a02
name=c7.1708.00.armhfp
b73a02
baseurl=http://repohost/repo/c7.1708.00.armhfp/
b73a02
enabled=1
b73a02
gpgcheck=0
b73a02
b73a02
[c7.1708.u.armhfp]
b73a02
name=c7.1708.u.armhfp
b73a02
baseurl=http://repohost/repo/c7.1708.u.armhfp/
b73a02
enabled=1
b73a02
gpgcheck=0
b73a02
b73a02
[c7.1804.00.armhfp]
b73a02
name=c7.1804.00.armhfp
b73a02
baseurl=http://repohost/repo/c7.1804.00.armhfp/
b73a02
enabled=1
b73a02
gpgcheck=0
b73a02
b73a02
[c7.1804.u.armhfp]
b73a02
name=c7.1804.u.armhfp
b73a02
baseurl=http://repohost/repo/c7.1804.u.armhfp/
b73a02
enabled=1
b73a02
gpgcheck=0
b73a02
c5f932
[c7.1810.u.armhfp]
c5f932
name=c7.1810.u.armhfp
c5f932
baseurl=http://repohost/repo/c7.1810.u.armhfp/
c5f932
enabled=1
c5f932
gpgcheck=0
c5f932
b73a02
[c7.1810.00.armhfp]
b73a02
name=c7.1810.00.armhfp
b73a02
baseurl=http://repohost/repo/c7.1810.00.armhfp/
b73a02
enabled=1
b73a02
gpgcheck=0
b73a02
b73a02
[c7-go-toolset-7.armhfp]
b73a02
name=c7-go-toolset-7.armhfp
b73a02
baseurl=http://repohost/repo/c7-go-toolset-7.armhfp/
b73a02
enabled=1
b73a02
gpgcheck=0
b73a02
c5f932
[c7.1908.u.armhfp]
c5f932
name=c7.1908.u.armhfp
c5f932
baseurl=http://repohost/repo/c7.1908.u.armhfp/
c5f932
enabled=1
c5f932
gpgcheck=0
c5f932
c5f932
[c7.1908.00.armhfp]
c5f932
name=c7.1908.00.armhfp
c5f932
baseurl=http://repohost/repo/c7.1908.00.armhfp/
c5f932
enabled=1
c5f932
gpgcheck=0
b73a02
b73a02
b73a02
"""
b73a02