Metadata for the CentOS-7 build
Johnny Hughes
2019-01-17 8e3db196eb88dda91cb38cbd20dbdb44266a0245
create c7-exp.armhfp config for the experimential kernels
2 files added
3 files modified
205 ■■■■■ changed files
mock/c7-exp.aarch64.cfg 73 ●●●●● patch | view | raw | blame | history
mock/c7-exp.armhfp.cfg 112 ●●●●● patch | view | raw | blame | history
mock/c7-exp.i386.cfg 6 ●●●● patch | view | raw | blame | history
mock/c7-exp.noarch.cfg 8 ●●●● patch | view | raw | blame | history
mock/c7-exp.x86_64.cfg 6 ●●●● patch | view | raw | blame | history
mock/c7-exp.aarch64.cfg
New file
@@ -0,0 +1,73 @@
config_opts['root'] = 'TARGETNAME'
config_opts['target_arch'] = 'aarch64'
config_opts['legal_host_arches'] = ('aarch64',)
config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils centos-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'
config_opts['dist'] = 'el7'  # only useful for --resultdir variable subst
config_opts['%centos_ver'] = "7"
config_opts['macros']['%centos_ver'] = "7"
config_opts['macros']['%rhel'] = "7"
config_opts['macros']['%centos'] = "7"
config_opts['macros']['%el7'] = "1"
config_opts['macros']['%redhat'] = "7"
config_opts['macros']['%vendor'] = "CentOS"
config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
config_opts['macros']['%_vendor'] = "redhat"
config_opts['macros']['%_vendor_host'] = "redhat"
config_opts['macros']['%_host'] = "aarch64-redhat-linux-gnu"
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[c7-kernels.aarch64]
name=c7-kernels.aarch64
baseurl=http://repohost/repo/c7-kernels.aarch64/
gpgcheck=0
[c7-exp.aarch64]
name=c7-exp.aarch64
baseurl=http://repohost/repo/c7-exp.aarch64/
gpgcheck=0
[c7.1708.u.aarch64]
name=c7.1708.u.aarch64
baseurl=http://repohost/repo/c7.1708.u.aarch64/
gpgcheck=0
[c7.1708.00.aarch64]
name=c7.1708.00.aarch64
baseurl=http://repohost/repo/c7.1708.00.aarch64/
gpgcheck=0
[c7.1804.u.aarch64]
name=c7.1804.u.aarch64
baseurl=http://repohost/repo/c7.1804.u.aarch64/
gpgcheck=0
[c7.1804.00.aarch64]
name=c7.1804.00.aarch64
baseurl=http://repohost/repo/c7.1804.00.aarch64/
gpgcheck=0
[c7.1810.u.aarch64]
name=c7.1810.u.aarch64
baseurl=http://repohost/repo/c7.1810.u.aarch64/
gpgcheck=0
[c7.1810.00.aarch64]
name=c7.1810.00.aarch64
baseurl=http://repohost/repo/c7.1810.00.aarch64/
gpgcheck=0
"""
mock/c7-exp.armhfp.cfg
New file
@@ -0,0 +1,112 @@
config_opts['root'] = 'TARGETNAME'
config_opts['target_arch'] = 'armv7hl'
config_opts['legal_host_arches'] = ('armv7l')
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'
config_opts['dist'] = 'el7'  # only useful for --resultdir variable subst
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['macros']['%dist'] = ".el7"
config_opts['%centos_ver'] = "7"
config_opts['macros']['%centos_ver'] = "7"
config_opts['macros']['%rhel'] = "7"
config_opts['macros']['%el7'] = "1"
config_opts['macros']['%redhat'] = "7"
config_opts['macros']['%vendor'] = "CentOS"
config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
config_opts['macros']['%_vendor'] = "redhat"
config_opts['macros']['%_vendor_host'] = "redhat"
config_opts['macros']['%_host'] = "armv7hl-redhat-linux-gnu"
#config_opts['macros']['%global _binaries_in_noarch_packages_terminate_build'] = "0"
# no ccache in base repo
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['plugin_conf']['yum_cache_enable'] = False
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[c7.1511.00.armhfp]
name=c7.1511.00.armhfp
baseurl=http://repohost/repo/c7.1511.00.armhfp/
enabled=1
gpgcheck=0
[c7.1511.u.armhfp]
name=c7.1511.u.armhfp
baseurl=http://repohost/repo/c7.1511.u.armhfp/
enabled=1
gpgcheck=0
[c7.1611.00.armhfp]
name=c7.1611.00.armhfp
baseurl=http://repohost/repo/c7.1611.00.armhfp/
enabled=1
gpgcheck=0
[c7.1611.u.armhfp]
name=c7.1611.u.armhfp
baseurl=http://repohost/repo/c7.1611.u.armhfp/
enabled=1
gpgcheck=0
[c7.1708.00.armhfp]
name=c7.1708.00.armhfp
baseurl=http://repohost/repo/c7.1708.00.armhfp/
enabled=1
gpgcheck=0
[c7.1708.u.armhfp]
name=c7.1708.u.armhfp
baseurl=http://repohost/repo/c7.1708.u.armhfp/
enabled=1
gpgcheck=0
[c7.1804.00.armhfp]
name=c7.1804.00.armhfp
baseurl=http://repohost/repo/c7.1804.00.armhfp/
enabled=1
gpgcheck=0
[c7.1804.u.armhfp]
name=c7.1804.u.armhfp
baseurl=http://repohost/repo/c7.1804.u.armhfp/
enabled=1
gpgcheck=0
[c7-kernels.armhfp]
name=c7-kernels.armhfp
baseurl=http://repohost/repo/c7-kernels.armhfp/
enabled=1
gpgcheck=0
[c7-exp.armhfp]
name=c7-exp.armhfp
baseurl=http://repohost/repo/c7-exp.armhfp/
enabled=1
gpgcheck=0
[c7.1810.00.armhfp]
name=c7.1810.00.armhfp
baseurl=http://repohost/repo/c7.1810.00.armhfp/
enabled=1
gpgcheck=0
[c7.1810.u.armhfp]
name=c7.1810.u.armhfp
baseurl=http://repohost/repo/c7.1810.u.armhfp/
enabled=1
"""
mock/c7-exp.i386.cfg
@@ -158,10 +158,10 @@
cost=625
baseurl=http://repohost/repo/c7.1810.u.i386/
[c7-exp.i386]
name=c7-exp.i386
[c7-kernels.i386]
name=c7-kernels.i386
enabled=1
cost=625
baseurl=http://repohost/repo/c7-exp.i386/
baseurl=http://repohost/repo/c7-kernels.i386/
"""
mock/c7-exp.noarch.cfg
@@ -146,7 +146,7 @@
name=c7.1804.00.x86_64
enabled=1
cost=625
baseurl=http://repohost/repo/c7.1804.00.x86_64
baseurl=http://repohost/repo/c7.1804.00.x86_64/
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
[c7.1804.u.x86_64]
@@ -170,11 +170,11 @@
baseurl=http://repohost/repo/c7.1810.u.x86_64/
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
[c7-exp.x86_64]
name=c7-exp.x86_64
[c7-kernels.x86_64]
name=c7-kernels.x86_64
enabled=1
cost=625
baseurl=http://repohost/repo/c7-exp.x86_64/
baseurl=http://repohost/repo/c7-kernels.x86_64/
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
"""
mock/c7-exp.x86_64.cfg
@@ -170,11 +170,11 @@
baseurl=http://repohost/repo/c7.1810.u.x86_64/
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
[c7-exp.x86_64]
name=c7-exp.x86_64
[c7-kernels.x86_64]
name=c7-kernels.x86_64
enabled=1
cost=625
baseurl=http://repohost/repo/c7-exp.x86_64/
baseurl=http://repohost/repo/c7-kernels.x86_64/
includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
"""