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