summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-06-05 17:47:25 +0200
committerRemi Collet <remi@php.net>2023-06-05 17:47:25 +0200
commit9b17283f5ce5c8fe0a41b9633a14a8c8e4ba4c3e (patch)
treef086aab0953f4c927082fae466e26c84778ad4fc
parent8f1fd4f87289e467c94c8658d63b2e3fdc97240d (diff)
add f38 32-bit
-rw-r--r--fc38i.cfg2
-rw-r--r--fc38i.tpl63
2 files changed, 65 insertions, 0 deletions
diff --git a/fc38i.cfg b/fc38i.cfg
new file mode 100644
index 0000000..ca350b1
--- /dev/null
+++ b/fc38i.cfg
@@ -0,0 +1,2 @@
+include('fc38i.tpl')
+
diff --git a/fc38i.tpl b/fc38i.tpl
new file mode 100644
index 0000000..f40f15d
--- /dev/null
+++ b/fc38i.tpl
@@ -0,0 +1,63 @@
+include('vendor.tpl')
+
+config_opts['root'] = 'fc38i'
+config_opts['target_arch'] = 'i686'
+config_opts['chroot_setup_cmd'] = 'install @build ccache gcc'
+config_opts['dist'] = 'fc38' # only useful for --resultdir variable subst
+config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
+config_opts['releasever'] = '38'
+config_opts['package_manager'] = 'dnf'
+
+config_opts['plugin_conf']['ccache_enable'] = True
+config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '1G'
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc38i/"
+
+config_opts['basedir'] = '/dev/shm/'
+config_opts['resultdir'] = "/var/lib/mock/fc38i"
+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']="-j10"
+config_opts['macros']['%dist']=".fc38.remi"
+config_opts['macros']['%fedora']="38"
+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['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
+
+# repos
+
+[koji]
+name=local
+baseurl=https://kojipkgs.fedoraproject.org/repos/f38-build/latest/i386/
+cost=2000
+enabled=1
+skip_if_unavailable=False
+
+[result-fc38i]
+name=result-fc38i
+baseurl=file:/var/lib/mock/fc38i/
+metadata_expire=10
+enabled=1
+skip_if_unavailable=True
+
+"""