From 76c33784a6bd1df7889b7ea3d601721cb01051f6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 16 Apr 2021 08:00:29 +0200 Subject: add Fedora 32-bit config --- fc32i.cfg | 2 ++ fc32i.tpl | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ fc32x.tpl | 2 ++ fc33i.cfg | 2 ++ fc33i.tpl | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ fc33x.tpl | 2 ++ fc34i.cfg | 2 ++ fc34i.tpl | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ fc34x.tpl | 2 ++ 9 files changed, 201 insertions(+) create mode 100644 fc32i.cfg create mode 100644 fc32i.tpl create mode 100644 fc33i.cfg create mode 100644 fc33i.tpl create mode 100644 fc34i.cfg create mode 100644 fc34i.tpl diff --git a/fc32i.cfg b/fc32i.cfg new file mode 100644 index 0000000..725716e --- /dev/null +++ b/fc32i.cfg @@ -0,0 +1,2 @@ +include('fc32i.tpl') + diff --git a/fc32i.tpl b/fc32i.tpl new file mode 100644 index 0000000..bb054b2 --- /dev/null +++ b/fc32i.tpl @@ -0,0 +1,63 @@ +config_opts['root'] = 'fc32i' +config_opts['target_arch'] = 'i686' +config_opts['chroot_setup_cmd'] = 'install @build ccache gcc' +config_opts['dist'] = 'fc32' # only useful for --resultdir variable subst +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] +config_opts['releasever'] = '32' +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.fc32i/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc32i" +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']['%vendor']="Remi's RPM repository " +config_opts['macros']['%packager']="Remi Collet" +config_opts['macros']['%bugurl']="https://forum.remirepo.net/" +config_opts['macros']['%dist']=".fc32.remi" +config_opts['macros']['%fedora']="32" +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/f32-build/latest/i386/ +cost=2000 +enabled=1 +skip_if_unavailable=False + +[result-fc32i] +name=result-fc32i +baseurl=file:/var/lib/mock/fc32i/ +metadata_expire=10 +enabled=1 + +""" diff --git a/fc32x.tpl b/fc32x.tpl index 12aeff8..d247a5d 100644 --- a/fc32x.tpl +++ b/fc32x.tpl @@ -55,6 +55,7 @@ metadata_expire=80000 ##mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-32&arch=x86_64 #baseurl=http://fr2.rpmfind.net/linux/fedora/releases/32/Everything/x86_64/os/ # http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/32/Everything/x86_64/os/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/releases/32/Everything/x86_64/os/ [updates] name=updates @@ -64,6 +65,7 @@ failovermethod=priority #baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/1/x86_64/ # http://mirrors.ircam.fr/pub/fedora/linux/updates/32/x86_64/ # http://fr2.rpmfind.net/linux/fedora/updates/32/x86_64/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/32/Everything/x86_64/ enabled=1 [updates-testing] diff --git a/fc33i.cfg b/fc33i.cfg new file mode 100644 index 0000000..346e95c --- /dev/null +++ b/fc33i.cfg @@ -0,0 +1,2 @@ +include('fc33i.tpl') + diff --git a/fc33i.tpl b/fc33i.tpl new file mode 100644 index 0000000..5a03fd9 --- /dev/null +++ b/fc33i.tpl @@ -0,0 +1,63 @@ +config_opts['root'] = 'fc33i' +config_opts['target_arch'] = 'i686' +config_opts['chroot_setup_cmd'] = 'install @build ccache gcc' +config_opts['dist'] = 'fc33' # only useful for --resultdir variable subst +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] +config_opts['releasever'] = '33' +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.fc33i/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc33i" +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']['%vendor']="Remi's RPM repository " +config_opts['macros']['%packager']="Remi Collet" +config_opts['macros']['%bugurl']="https://forum.remirepo.net/" +config_opts['macros']['%dist']=".fc33.remi" +config_opts['macros']['%fedora']="33" +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/f33-build/latest/i386/ +cost=2000 +enabled=1 +skip_if_unavailable=False + +[result-fc33i] +name=result-fc33i +baseurl=file:/var/lib/mock/fc33i/ +metadata_expire=10 +enabled=1 + +""" diff --git a/fc33x.tpl b/fc33x.tpl index 6a866b5..977184b 100644 --- a/fc33x.tpl +++ b/fc33x.tpl @@ -55,6 +55,7 @@ metadata_expire=80000 ##mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-33&arch=x86_64 #baseurl=http://fr2.rpmfind.net/linux/fedora/releases/33/Everything/x86_64/os/ # http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/33/Everything/x86_64/os/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/releases/33/Everything/x86_64/os/ [updates] name=updates @@ -64,6 +65,7 @@ failovermethod=priority #baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/1/x86_64/ # http://mirrors.ircam.fr/pub/fedora/linux/updates/33/x86_64/ # http://fr2.rpmfind.net/linux/fedora/updates/33/x86_64/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/33/Everything/x86_64/ enabled=1 [updates-testing] diff --git a/fc34i.cfg b/fc34i.cfg new file mode 100644 index 0000000..1f6ab17 --- /dev/null +++ b/fc34i.cfg @@ -0,0 +1,2 @@ +include('fc34i.tpl') + diff --git a/fc34i.tpl b/fc34i.tpl new file mode 100644 index 0000000..1248eb0 --- /dev/null +++ b/fc34i.tpl @@ -0,0 +1,63 @@ +config_opts['root'] = 'fc34i' +config_opts['target_arch'] = 'i686' +config_opts['chroot_setup_cmd'] = 'install @build ccache gcc' +config_opts['dist'] = 'fc34' # only useful for --resultdir variable subst +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] +config_opts['releasever'] = '34' +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.fc34i/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc34i" +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']['%vendor']="Remi's RPM repository " +config_opts['macros']['%packager']="Remi Collet" +config_opts['macros']['%bugurl']="https://forum.remirepo.net/" +config_opts['macros']['%dist']=".fc34.remi" +config_opts['macros']['%fedora']="34" +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/f34-build/latest/i386/ +cost=2000 +enabled=1 +skip_if_unavailable=False + +[result-fc34i] +name=result-fc34i +baseurl=file:/var/lib/mock/fc34i/ +metadata_expire=10 +enabled=1 + +""" diff --git a/fc34x.tpl b/fc34x.tpl index 201d521..0dc572f 100644 --- a/fc34x.tpl +++ b/fc34x.tpl @@ -55,6 +55,7 @@ metadata_expire=80000 ##mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-34&arch=x86_64 #baseurl=http://fr2.rpmfind.net/linux/fedora/releases/34/Everything/x86_64/os/ # http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/34/Everything/x86_64/os/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/development/34/Everything/x86_64/os/ [updates] name=updates @@ -64,6 +65,7 @@ failovermethod=priority #baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/1/x86_64/ # http://mirrors.ircam.fr/pub/fedora/linux/updates/34/x86_64/ # http://fr2.rpmfind.net/linux/fedora/updates/34/x86_64/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/33/Everything/x86_64/ enabled=1 [updates-testing] -- cgit