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