summaryrefslogtreecommitdiffstats
path: root/el8x73.cfg
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-11-30 14:51:32 +0100
committerRemi Collet <remi@remirepo.net>2018-11-30 14:51:32 +0100
commit0da4d3542991cffa8e2ac0f8832e74b898a1bd67 (patch)
tree723aed472657b48d25a33232f0a2e163d7c5fc42 /el8x73.cfg
parent40c2b76247e04fd5031cc96fdbaee4521724eed6 (diff)
add EL8 configuration
Diffstat (limited to 'el8x73.cfg')
-rw-r--r--el8x73.cfg118
1 files changed, 118 insertions, 0 deletions
diff --git a/el8x73.cfg b/el8x73.cfg
new file mode 100644
index 0000000..d216b3e
--- /dev/null
+++ b/el8x73.cfg
@@ -0,0 +1,118 @@
+config_opts['root'] = 'el8x'
+config_opts['target_arch'] = 'x86_64'
+#config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
+config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils redhat-release findutils gawk grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz'
+config_opts['dist'] = 'el8' # only useful for --resultdir variable subst
+config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
+config_opts['releasever'] = '8'
+config_opts['package_manager'] = 'dnf'
+
+config_opts['plugin_conf']['ccache_enable'] = False
+config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '1G'
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.el8x/"
+
+config_opts['basedir'] = '/dev/shm/'
+config_opts['resultdir'] = "/var/lib/mock/el8x"
+config_opts['cleanup_on_success'] = True
+config_opts['cleanup_on_failure'] = False
+
+config_opts['createrepo_on_rpms'] = True
+config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm'
+
+config_opts['macros']['%_topdir']="/builddir/build"
+config_opts['macros']['%_smp_mflags']="-j6"
+config_opts['macros']['%vendor']="Remi Collet"
+config_opts['macros']['%packager']="https://blog.remirepo.net/"
+config_opts['macros']['%bugurl']="https://forum.remirepo.net/"
+config_opts['macros']['%dist']=".el8.remi"
+config_opts['macros']['%rhel']="8"
+config_opts['macros']['%_with_ibase']="1"
+config_opts['macros']['%_with_oci8']="1"
+config_opts['macros']['%runselftest']="1"
+
+config_opts['environment']['ACCEPT_EULA'] = 'Y'
+
+config_opts['module_enable'] = ['httpd:2.4', 'nginx:1.14', 'php:remi-7.3']
+
+config_opts['yum.conf'] = """
+[main]
+keepcache=1
+debuglevel=2
+reposdir=/dev/null
+logfile=/var/log/yum.log
+retries=20
+obsoletes=1
+gpgcheck=0
+assumeyes=1
+metadata_expire=80000
+fastestmirror=1
+max_parallel_downloads=6
+module_hotfixes=1
+module_platform_id=platform:el8
+
+# repos
+[rhel-8-baseos]
+name=rhel-8-baseos
+baseurl=file:/mnt/rhel-8-x86_64/BaseOS/
+exclude=php*x86_64*
+enabled=1
+
+[rhel-8-appstream]
+name=rhel-8-appstream
+baseurl=file:/mnt/rhel-8-x86_64/AppStream/
+exclude=php*x86_64*
+enabled=1
+
+[remi]
+name=remi public
+baseurl=file:/home/rpmbuild/site/rpms/enterprise/8/remi/x86_64/
+enabled=1
+metadata_expire=15
+
+[remi-modular]
+name=remi modular
+baseurl=file:/home/rpmbuild/site/rpms/enterprise/8/modular/x86_64/
+enabled=1
+metadata_expire=15
+
+[remi-php73]
+name=remi php73
+baseurl=file:/home/rpmbuild/site/rpms/enterprise/8/php73/x86_64/
+enabled=0
+metadata_expire=15
+
+[remi-priv]
+name=remi prive
+baseurl=file:/home/rpmbuild/site/rpms/priv/x86_64/
+enabled=1
+metadata_expire=15
+
+[remi-priv-el8]
+name=remi prive el8
+baseurl=file:/home/rpmbuild/site/rpms/priv/el8.x86_64/
+enabled=1
+metadata_expire=15
+
+[remi-test]
+name=remi test
+baseurl=file:/home/rpmbuild/site/rpms/enterprise/8/test/x86_64/
+enabled=0
+
+[remi-debuginfo]
+name=remi-debuginfo
+baseurl=file:/home/rpmbuild/site/rpms/enterprise/8/debug-remi/x86_64/
+enabled=1
+
+[result-el8x]
+name=result-el8x
+baseurl=file:/var/lib/mock/el8x/
+metadata_expire=15
+enabled=1
+
+[msprod]
+name=msprod
+baseurl=https://packages.microsoft.com/rhel/8/prod/
+enabled=0
+includepkgs=msodbcsql
+
+"""