From 9b17283f5ce5c8fe0a41b9633a14a8c8e4ba4c3e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Jun 2023 17:47:25 +0200 Subject: add f38 32-bit --- fc38i.cfg | 2 ++ fc38i.tpl | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 fc38i.cfg create mode 100644 fc38i.tpl 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 + +""" -- cgit