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