From 453d13653b666f950b1bcdc5871ef30ebab1fd1c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 18 Sep 2023 10:41:41 +0200 Subject: EL-8 aarch64 configs --- el8a.cfg | 5 +++ el8a.tpl | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ el8a74.cfg | 28 ++++++++++++++ el8a80.cfg | 27 ++++++++++++++ el8a81.cfg | 27 ++++++++++++++ el8a82.cfg | 27 ++++++++++++++ el8a83.cfg | 27 ++++++++++++++ el8ar.cfg | 16 ++++++++ el8ar60.cfg | 17 +++++++++ el8ar62.cfg | 17 +++++++++ el8ar70.cfg | 17 +++++++++ el8ar72.cfg | 17 +++++++++ el8ascl74.cfg | 25 +++++++++++++ el8ascl80.cfg | 25 +++++++++++++ el8ascl81.cfg | 25 +++++++++++++ el8ascl82.cfg | 25 +++++++++++++ el8ascl83.cfg | 25 +++++++++++++ el9a.tpl | 2 +- 18 files changed, 467 insertions(+), 1 deletion(-) create mode 100644 el8a.cfg create mode 100644 el8a.tpl create mode 100644 el8a74.cfg create mode 100644 el8a80.cfg create mode 100644 el8a81.cfg create mode 100644 el8a82.cfg create mode 100644 el8a83.cfg create mode 100644 el8ar.cfg create mode 100644 el8ar60.cfg create mode 100644 el8ar62.cfg create mode 100644 el8ar70.cfg create mode 100644 el8ar72.cfg create mode 100644 el8ascl74.cfg create mode 100644 el8ascl80.cfg create mode 100644 el8ascl81.cfg create mode 100644 el8ascl82.cfg create mode 100644 el8ascl83.cfg diff --git a/el8a.cfg b/el8a.cfg new file mode 100644 index 0000000..3db4aaf --- /dev/null +++ b/el8a.cfg @@ -0,0 +1,5 @@ +include('el8a.tpl') + +config_opts['root'] = 'el8a' +config_opts['resultdir'] = "/var/lib/mock/el8a" + diff --git a/el8a.tpl b/el8a.tpl new file mode 100644 index 0000000..ef5bdb3 --- /dev/null +++ b/el8a.tpl @@ -0,0 +1,116 @@ +include('vendor.tpl') + +config_opts['target_arch'] = 'aarch64' +#config_opts['chroot_setup_cmd'] = 'install @buildsys-build' +config_opts['chroot_setup_cmd'] = 'install bash bzip2 ccache coreutils cpio diffutils redhat-release findutils gawk gcc 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.el8a/" + +config_opts['basedir'] = '/dev/shm/' +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']="-j30" +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'] = ['swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-8.0', 'redis:remi-7.0'] + +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 +modules=1 +module_hotfixes=1 +module_platform_id=platform:el8 + +# repos +[rhel-8-baseos] +name=rhel-8-baseos +baseurl=file:/mnt/rhel-8-aarch64/BaseOS/ +enabled=1 + +[rhel-8-appstream] +name=rhel-8-appstream +baseurl=file:/mnt/rhel-8-aarch64/AppStream/ +enabled=1 + +[epel] +name=epel +;mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-8&arch=aarch64 +baseurl=https://dl.fedoraproject.org/pub/epel/8/Everything/aarch64/ +exclude=epel-rpm-macros +enabled=1 + +[epel-playground] +name=epel +mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=playground-epel8&arch=aarch64 +exclude=epel-rpm-macros +includepkgs=GeoIP* +enabled=0 + +[remi] +name=remi public +baseurl=http://remi/repo/enterprise/8/remi/aarch64/ +enabled=1 +metadata_expire=30 + +[remi-modular] +name=remi modular +baseurl=http://remi/repo/enterprise/8/modular/aarch64/ +enabled=1 +metadata_expire=30 + +[remi-priv] +name=remi private +baseurl=file:/home/remi/priv/el8.aarch64/ +enabled=1 +metadata_expire=30 + +[remi-debuginfo] +name=remi-debuginfo +baseurl=http://remi/repo/enterprise/8/debug-remi/aarch64/ +enabled=0 + +[result-el8a] +name=result-el8a +baseurl=file:/var/lib/mock/el8a/ +metadata_expire=30 +skip_if_unavailable=True +enabled=1 + +[msprod] +name=msprod +baseurl=https://packages.microsoft.com/rhel/8/prod/ +enabled=0 +includepkgs=msodbcsql18 + +[stream] +name=CentOS 8 Stream +baseurl=http://mirror.centos.org/centos/8-stream/AppStream/aarch64/os/ +enabled=0 +""" diff --git a/el8a74.cfg b/el8a74.cfg new file mode 100644 index 0000000..cddd967 --- /dev/null +++ b/el8a74.cfg @@ -0,0 +1,28 @@ +import datetime; + +include('el8a.tpl') + +config_opts['root'] = 'el8a74' +config_opts['resultdir'] = "/var/lib/mock/el8a74" + +config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-7.4', 'redis:remi-7.0'] +config_opts['module_install'] = ['php:remi-7.4/devel'] + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="php" +config_opts['macros']['%_module_stream']="remi-7.4" +config_opts['macros']['%_module_version']="80800" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-el8a74] +name=result-el8a74 +baseurl=file:/var/lib/mock/el8a74/ +metadata_expire=15 +enabled=1 +module_hotfixes=1 +skip_if_unavailable=True +""" + diff --git a/el8a80.cfg b/el8a80.cfg new file mode 100644 index 0000000..1b9b4e1 --- /dev/null +++ b/el8a80.cfg @@ -0,0 +1,27 @@ +import datetime; + +include('el8a.tpl') + +config_opts['root'] = 'el8a80' +config_opts['resultdir'] = "/var/lib/mock/el8a80" + +config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-8.0', 'redis:remi-7.0'] +config_opts['module_install'] = ['php:remi-8.0/devel'] + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="php" +config_opts['macros']['%_module_stream']="remi-8.0" +config_opts['macros']['%_module_version']="80800" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-el8a80] +name=result-el8a80 +baseurl=file:/var/lib/mock/el8a80/ +metadata_expire=15 +enabled=1 +module_hotfixes=1 +skip_if_unavailable=True +""" diff --git a/el8a81.cfg b/el8a81.cfg new file mode 100644 index 0000000..8573449 --- /dev/null +++ b/el8a81.cfg @@ -0,0 +1,27 @@ +import datetime; + +include('el8a.tpl') + +config_opts['root'] = 'el8a81' +config_opts['resultdir'] = "/var/lib/mock/el8a81" + +config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-8.1', 'redis:remi-7.0'] +config_opts['module_install'] = ['php:remi-8.1/devel'] + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="php" +config_opts['macros']['%_module_stream']="remi-8.1" +config_opts['macros']['%_module_version']="80800" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-el8a80] +name=result-el8a81 +baseurl=file:/var/lib/mock/el8a81/ +metadata_expire=15 +enabled=1 +module_hotfixes=1 +skip_if_unavailable=True +""" diff --git a/el8a82.cfg b/el8a82.cfg new file mode 100644 index 0000000..21ea24c --- /dev/null +++ b/el8a82.cfg @@ -0,0 +1,27 @@ +import datetime; + +include('el8a.tpl') + +config_opts['root'] = 'el8a82' +config_opts['resultdir'] = "/var/lib/mock/el8a82" + +config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-8.2', 'redis:remi-7.0'] +config_opts['module_install'] = ['php:remi-8.2/devel'] + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="php" +config_opts['macros']['%_module_stream']="remi-8.2" +config_opts['macros']['%_module_version']="80800" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-el8a82] +name=result-el8a82 +baseurl=file:/var/lib/mock/el8a82/ +metadata_expire=15 +enabled=1 +module_hotfixes=1 +skip_if_unavailable=True +""" diff --git a/el8a83.cfg b/el8a83.cfg new file mode 100644 index 0000000..4e977fa --- /dev/null +++ b/el8a83.cfg @@ -0,0 +1,27 @@ +import datetime; + +include('el8a.tpl') + +config_opts['root'] = 'el8a83' +config_opts['resultdir'] = "/var/lib/mock/el8a83" + +config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'php:remi-8.3', 'redis:remi-7.0'] +config_opts['module_install'] = ['php:remi-8.3/devel'] + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="php" +config_opts['macros']['%_module_stream']="remi-8.3" +config_opts['macros']['%_module_version']="80800" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-el8a83] +name=result-el8a83 +baseurl=file:/var/lib/mock/el8a83/ +metadata_expire=15 +enabled=1 +module_hotfixes=1 +skip_if_unavailable=True +""" diff --git a/el8ar.cfg b/el8ar.cfg new file mode 100644 index 0000000..31e0808 --- /dev/null +++ b/el8ar.cfg @@ -0,0 +1,16 @@ +include('el8a.tpl') + +config_opts['root'] = 'el8a' +config_opts['resultdir'] = "/var/lib/mock/el8a" + +config_opts['macros']['%_with_rpmfusion']="1" + +config_opts['yum.conf'] += """ + +[rpmfusion-free-updates] +name=rpmfusion-free-updates +mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-8&arch=aarch64 +enabled=1 + +""" + diff --git a/el8ar60.cfg b/el8ar60.cfg new file mode 100644 index 0000000..a7daf77 --- /dev/null +++ b/el8ar60.cfg @@ -0,0 +1,17 @@ +import datetime; + +include('el8a.tpl') + +config_opts['root'] = 'el8a' +config_opts['resultdir'] = "/var/lib/mock/el8a" + +config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14'] + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="redis" +config_opts['macros']['%_module_stream']="remi-6.0" +config_opts['macros']['%_module_version']="80800" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/el8ar62.cfg b/el8ar62.cfg new file mode 100644 index 0000000..48988e8 --- /dev/null +++ b/el8ar62.cfg @@ -0,0 +1,17 @@ +import datetime; + +include('el8a.tpl') + +config_opts['root'] = 'el8a' +config_opts['resultdir'] = "/var/lib/mock/el8a" + +config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14'] + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="redis" +config_opts['macros']['%_module_stream']="remi-6.2" +config_opts['macros']['%_module_version']="80800" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/el8ar70.cfg b/el8ar70.cfg new file mode 100644 index 0000000..73f9eaf --- /dev/null +++ b/el8ar70.cfg @@ -0,0 +1,17 @@ +import datetime; + +include('el8a.tpl') + +config_opts['root'] = 'el8a' +config_opts['resultdir'] = "/var/lib/mock/el8a" + +config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14'] + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="redis" +config_opts['macros']['%_module_stream']="remi-7.0" +config_opts['macros']['%_module_version']="80800" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/el8ar72.cfg b/el8ar72.cfg new file mode 100644 index 0000000..3574e7d --- /dev/null +++ b/el8ar72.cfg @@ -0,0 +1,17 @@ +import datetime; + +include('el8a.tpl') + +config_opts['root'] = 'el8a' +config_opts['resultdir'] = "/var/lib/mock/el8a" + +config_opts['module_enable'] = ['varnish:6', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14'] + +nn = datetime.datetime.now().strftime("%Y%m%d%H%M%S"); +config_opts['macros']['%_module_build']="1" +config_opts['macros']['%_module_name']="redis" +config_opts['macros']['%_module_stream']="remi-7.2" +config_opts['macros']['%_module_version']="80800" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + diff --git a/el8ascl74.cfg b/el8ascl74.cfg new file mode 100644 index 0000000..a16788c --- /dev/null +++ b/el8ascl74.cfg @@ -0,0 +1,25 @@ +include('el8a.tpl') + +config_opts['root'] = 'scl74el8a' +config_opts['resultdir'] = "/var/lib/mock/scl74el8a" +config_opts['chroot_setup_cmd'] = 'install bash bzip2 ccache coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss crypto-policies php74-build php74-php-devel php74-php-pear' + +config_opts['module_enable'] = ['subversion:1.10', 'php:7.2', 'varnish:6', 'swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'redis:remi-7.0'] + +config_opts['macros']['%scl_vendor']="remi" +config_opts['macros']['%_scl_prefix']="/opt/remi" +config_opts['macros']['%nophptag']="1" +# Official (but temporary) workaround for https://bugzilla.redhat.com/1484370 +#config_opts['macros']['%_debugsource_packages']="%nil" +# workaround for https://bugzilla.redhat.com/1485310 +config_opts['macros']['%_build_id_links']='none' + +config_opts['yum.conf'] += """ + +[result-scl74el8a] +name=result-scl74el8a +baseurl=file:/var/lib/mock/scl74el8a/ +metadata_expire=30 +enabled=1 +skip_if_unavailable=True +""" diff --git a/el8ascl80.cfg b/el8ascl80.cfg new file mode 100644 index 0000000..60ecd6f --- /dev/null +++ b/el8ascl80.cfg @@ -0,0 +1,25 @@ +include('el8a.tpl') + +config_opts['root'] = 'scl80el8a' +config_opts['resultdir'] = "/var/lib/mock/scl80el8a" +config_opts['chroot_setup_cmd'] = 'install bash bzip2 ccache coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss crypto-policies php80-build php80-php-devel php80-php-pear' + +config_opts['module_enable'] = ['subversion:1.10', 'php:7.2', 'varnish:6', 'swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'redis:remi-7.0'] + +config_opts['macros']['%scl_vendor']="remi" +config_opts['macros']['%_scl_prefix']="/opt/remi" +config_opts['macros']['%nophptag']="1" +# Official (but temporary) workaround for https://bugzilla.redhat.com/1484370 +#config_opts['macros']['%_debugsource_packages']="%nil" +# workaround for https://bugzilla.redhat.com/1485310 +config_opts['macros']['%_build_id_links']='none' + +config_opts['yum.conf'] += """ + +[result-scl80el8a] +name=result-scl80el8a +baseurl=file:/var/lib/mock/scl80el8a/ +metadata_expire=30 +enabled=1 +skip_if_unavailable=True +""" diff --git a/el8ascl81.cfg b/el8ascl81.cfg new file mode 100644 index 0000000..d39c364 --- /dev/null +++ b/el8ascl81.cfg @@ -0,0 +1,25 @@ +include('el8a.tpl') + +config_opts['root'] = 'scl81el8a' +config_opts['resultdir'] = "/var/lib/mock/scl81el8a" +config_opts['chroot_setup_cmd'] = 'install bash bzip2 ccache coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss crypto-policies php81-build php81-php-devel php81-php-pear' + +config_opts['module_enable'] = ['subversion:1.10', 'php:7.2', 'varnish:6', 'swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'redis:remi-7.0'] + +config_opts['macros']['%scl_vendor']="remi" +config_opts['macros']['%_scl_prefix']="/opt/remi" +config_opts['macros']['%nophptag']="1" +# Official (but temporary) workaround for https://bugzilla.redhat.com/1484370 +#config_opts['macros']['%_debugsource_packages']="%nil" +# workaround for https://bugzilla.redhat.com/1485310 +config_opts['macros']['%_build_id_links']='none' + +config_opts['yum.conf'] += """ + +[result-scl81el8a] +name=result-scl81el8a +baseurl=file:/var/lib/mock/scl81el8a/ +metadata_expire=30 +enabled=1 +skip_if_unavailable=True +""" diff --git a/el8ascl82.cfg b/el8ascl82.cfg new file mode 100644 index 0000000..79a0879 --- /dev/null +++ b/el8ascl82.cfg @@ -0,0 +1,25 @@ +include('el8a.tpl') + +config_opts['root'] = 'scl82el8a' +config_opts['resultdir'] = "/var/lib/mock/scl82el8a" +config_opts['chroot_setup_cmd'] = 'install bash bzip2 ccache coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss crypto-policies php82-build php82-php-devel php82-php-pear' + +config_opts['module_enable'] = ['subversion:1.10', 'php:7.2', 'varnish:6', 'swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'redis:remi-7.0'] + +config_opts['macros']['%scl_vendor']="remi" +config_opts['macros']['%_scl_prefix']="/opt/remi" +config_opts['macros']['%nophptag']="1" +# Official (but temporary) workaround for https://bugzilla.redhat.com/1484370 +#config_opts['macros']['%_debugsource_packages']="%nil" +# workaround for https://bugzilla.redhat.com/1485310 +config_opts['macros']['%_build_id_links']='none' + +config_opts['yum.conf'] += """ + +[result-scl82el8a] +name=result-scl82el8a +baseurl=file:/var/lib/mock/scl82el8a/ +metadata_expire=30 +enabled=1 +skip_if_unavailable=True +""" diff --git a/el8ascl83.cfg b/el8ascl83.cfg new file mode 100644 index 0000000..19c8e57 --- /dev/null +++ b/el8ascl83.cfg @@ -0,0 +1,25 @@ +include('el8a.tpl') + +config_opts['root'] = 'scl83el8a' +config_opts['resultdir'] = "/var/lib/mock/scl83el8a" +config_opts['chroot_setup_cmd'] = 'install bash bzip2 ccache coreutils cpio diffutils redhat-release findutils gawk gcc grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz scl-utils-build nss crypto-policies php83-build php83-php-devel php83-php-pear' + +config_opts['module_enable'] = ['subversion:1.10', 'php:7.2', 'varnish:6', 'swig', 'javapackages-runtime', 'mariadb:10.3', 'nodejs:10', 'postgresql:10', 'python27:2.7', 'python36:3.6', 'virt:rhel', 'httpd:2.4', 'nginx:1.14', 'redis:remi-7.0'] + +config_opts['macros']['%scl_vendor']="remi" +config_opts['macros']['%_scl_prefix']="/opt/remi" +config_opts['macros']['%nophptag']="1" +# Official (but temporary) workaround for https://bugzilla.redhat.com/1484370 +#config_opts['macros']['%_debugsource_packages']="%nil" +# workaround for https://bugzilla.redhat.com/1485310 +config_opts['macros']['%_build_id_links']='none' + +config_opts['yum.conf'] += """ + +[result-scl83el8a] +name=result-scl83el8a +baseurl=file:/var/lib/mock/scl83el8a/ +metadata_expire=30 +enabled=1 +skip_if_unavailable=True +""" diff --git a/el9a.tpl b/el9a.tpl index 3c99156..e0b1693 100644 --- a/el9a.tpl +++ b/el9a.tpl @@ -20,7 +20,7 @@ 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']="-j20" +config_opts['macros']['%_smp_mflags']="-j30" config_opts['macros']['%dist']=".el9.remi" config_opts['macros']['%rhel']="9" config_opts['macros']['%_with_ibase']="1" -- cgit