From d3955cb796458370e19b56641f0a99a9a7e707c3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 20 Sep 2023 08:59:55 +0200 Subject: F39 aarch64 mock config --- fc39a.cfg | 5 +++ fc39a.tpl | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ fc39a74.cfg | 32 +++++++++++++++++ fc39a80.cfg | 32 +++++++++++++++++ fc39a81.cfg | 32 +++++++++++++++++ fc39a82.cfg | 32 +++++++++++++++++ fc39a83.cfg | 32 +++++++++++++++++ fc39ascl74.cfg | 26 ++++++++++++++ fc39ascl80.cfg | 26 ++++++++++++++ fc39ascl81.cfg | 26 ++++++++++++++ fc39ascl82.cfg | 26 ++++++++++++++ fc39ascl83.cfg | 26 ++++++++++++++ 12 files changed, 406 insertions(+) create mode 100644 fc39a.cfg create mode 100644 fc39a.tpl create mode 100644 fc39a74.cfg create mode 100644 fc39a80.cfg create mode 100644 fc39a81.cfg create mode 100644 fc39a82.cfg create mode 100644 fc39a83.cfg create mode 100644 fc39ascl74.cfg create mode 100644 fc39ascl80.cfg create mode 100644 fc39ascl81.cfg create mode 100644 fc39ascl82.cfg create mode 100644 fc39ascl83.cfg diff --git a/fc39a.cfg b/fc39a.cfg new file mode 100644 index 0000000..833cc54 --- /dev/null +++ b/fc39a.cfg @@ -0,0 +1,5 @@ +include('fc39a.tpl') + +# Temp +#config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' + diff --git a/fc39a.tpl b/fc39a.tpl new file mode 100644 index 0000000..e1e8d36 --- /dev/null +++ b/fc39a.tpl @@ -0,0 +1,111 @@ +include('vendor.tpl') + +config_opts['root'] = 'fc39a' +config_opts['target_arch'] = 'aarch64' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build gcc' +config_opts['dist'] = 'fc39' # only useful for --resultdir variable subst +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] +config_opts['releasever'] = '39' +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.fc39a/" + +config_opts['basedir'] = '/dev/shm/' +config_opts['resultdir'] = "/var/lib/mock/fc39a" +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']=".fc39.remi" +config_opts['macros']['%fedora']="39" +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 + +[fedora] +name=fedora +metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch +metadata_expire=80000 +##mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-39&arch=aarch64 +#baseurl=http://fr2.rpmfind.net/linux/fedora/releases/39/Everything/aarch64/os/ +# http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/39/Everything/aarch64/os/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/development/39/Everything/aarch64/os/ + +[updates] +name=updates +metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch +#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f39&arch=aarch64 +#baseurl=http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/updates/1/aarch64/ +# http://mirrors.ircam.fr/pub/fedora/linux/updates/39/aarch64/ +# http://fr2.rpmfind.net/linux/fedora/updates/39/aarch64/ +#baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/33/Everything/aarch64/ +enabled=1 + +[updates-testing] +name=updates-testing +#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch +#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f39&arch=aarch64 +baseurl=https://dl.fedoraproject.org/pub/fedora/linux/updates/testing/39/Everything/aarch64/ +enabled=1 + +[remi] +name=remi public +baseurl=http://remi/repo/fedora/39/remi/aarch64/ +enabled=1 +metadata_expire=10 + +[remi-modular] +name=remi modular +baseurl=http://remi/repo/fedora/39/modular/aarch64/ +enabled=1 +metadata_expire=10 + +[remi-priv] +name=remi prive +baseurl=file:/home/remi/priv/fc39.aarch64/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +[remi-debuginfo] +name=remi-debuginfo +baseurl=http://remi/repo/fedora/39/debug-remi/aarch64/ +enabled=0 + +[result-fc39a] +name=result-fc39a +baseurl=file:/var/lib/mock/fc39a/ +metadata_expire=10 +enabled=1 +skip_if_unavailable=True + +[msprod] +name=msprod +baseurl=https://packages.microsoft.com/rhel/8/prod/ +enabled=0 + +""" diff --git a/fc39a74.cfg b/fc39a74.cfg new file mode 100644 index 0000000..ff318e0 --- /dev/null +++ b/fc39a74.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc39a.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc39a74' +config_opts['resultdir'] = "/var/lib/mock/fc39a74" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39a74/" + +config_opts['module_enable'] = ['php:remi-7.4'] +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']="39" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc39a74] +name=result-fc39a74 +baseurl=file:/var/lib/mock/fc39a74/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc39a80.cfg b/fc39a80.cfg new file mode 100644 index 0000000..2fa43cb --- /dev/null +++ b/fc39a80.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc39a.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc39a80' +config_opts['resultdir'] = "/var/lib/mock/fc39a80" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39a80/" + +config_opts['module_enable'] = ['php:remi-8.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']="39" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc39a80] +name=result-fc39a80 +baseurl=file:/var/lib/mock/fc39a80/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc39a81.cfg b/fc39a81.cfg new file mode 100644 index 0000000..fceeadd --- /dev/null +++ b/fc39a81.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc39a.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc39a81' +config_opts['resultdir'] = "/var/lib/mock/fc39a81" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39a81/" + +config_opts['module_enable'] = ['php:remi-8.1'] +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']="39" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc39a81] +name=result-fc39a81 +baseurl=file:/var/lib/mock/fc39a81/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc39a82.cfg b/fc39a82.cfg new file mode 100644 index 0000000..3df74fe --- /dev/null +++ b/fc39a82.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc39a.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc39a82' +config_opts['resultdir'] = "/var/lib/mock/fc39a82" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39a82/" + +config_opts['module_enable'] = ['php:remi-8.2'] +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']="39" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc39a82] +name=result-fc39a82 +baseurl=file:/var/lib/mock/fc39a82/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc39a83.cfg b/fc39a83.cfg new file mode 100644 index 0000000..d73dd81 --- /dev/null +++ b/fc39a83.cfg @@ -0,0 +1,32 @@ +import datetime; + +include('fc39a.tpl') + +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache' +config_opts['root'] = 'fc39a83' +config_opts['resultdir'] = "/var/lib/mock/fc39a83" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39a83/" + +config_opts['module_enable'] = ['php:remi-8.3'] +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']="39" + nn; +config_opts['macros']['%_module_context']="00000000" +config_opts['macros']['%modularitylabel']="%{_module_name}:%{_module_stream}:%{_module_version}:%{_module_context}" + +config_opts['yum.conf'] += """ +[result-fc39a83] +name=result-fc39a83 +baseurl=file:/var/lib/mock/fc39a83/ +enabled=1 +metadata_expire=1 +module_hotfixes=1 +priority=1 +skip_if_unavailable=True + +""" + diff --git a/fc39ascl74.cfg b/fc39ascl74.cfg new file mode 100644 index 0000000..1e3d9cd --- /dev/null +++ b/fc39ascl74.cfg @@ -0,0 +1,26 @@ +include('fc39a.tpl') + +config_opts['root'] = 'scl74fc39a' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php74-build php74-php-devel php74-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl74fc39a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39ascl74/" + +# Only needed to build main SCL package +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/1484390 +#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-scl74fc39a] +name=result-scl74fc39a +baseurl=file:///var/lib/mock/scl74fc39a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc39ascl80.cfg b/fc39ascl80.cfg new file mode 100644 index 0000000..738d16c --- /dev/null +++ b/fc39ascl80.cfg @@ -0,0 +1,26 @@ +include('fc39a.tpl') + +config_opts['root'] = 'scl80fc39a' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php80-build php80-php-devel php80-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl80fc39a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39ascl80/" + +# Only needed to build main SCL package +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/1484390 +#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-scl80fc39a] +name=result-scl80fc39a +baseurl=file:///var/lib/mock/scl80fc39a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc39ascl81.cfg b/fc39ascl81.cfg new file mode 100644 index 0000000..eae2497 --- /dev/null +++ b/fc39ascl81.cfg @@ -0,0 +1,26 @@ +include('fc39a.tpl') + +config_opts['root'] = 'scl81fc39a' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php81-build php81-php-devel php81-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl81fc39a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39ascl81/" + +# Only needed to build main SCL package +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/1484390 +#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-scl81fc39a] +name=result-scl81fc39a +baseurl=file:///var/lib/mock/scl81fc39a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc39ascl82.cfg b/fc39ascl82.cfg new file mode 100644 index 0000000..48b9248 --- /dev/null +++ b/fc39ascl82.cfg @@ -0,0 +1,26 @@ +include('fc39a.tpl') + +config_opts['root'] = 'scl82fc39a' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php82-build php82-php-devel php82-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl82fc39a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39ascl82/" + +# Only needed to build main SCL package +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/1484390 +#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-scl82fc39a] +name=result-scl82fc39a +baseurl=file:///var/lib/mock/scl82fc39a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" diff --git a/fc39ascl83.cfg b/fc39ascl83.cfg new file mode 100644 index 0000000..3864dd4 --- /dev/null +++ b/fc39ascl83.cfg @@ -0,0 +1,26 @@ +include('fc39a.tpl') + +config_opts['root'] = 'scl83fc39a' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php83-build php83-php-devel php83-php-pear' +config_opts['resultdir'] = "/var/lib/mock/scl83fc39a" +config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc39ascl83/" + +# Only needed to build main SCL package +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/1484390 +#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-scl83fc39a] +name=result-scl83fc39a +baseurl=file:///var/lib/mock/scl83fc39a/ +enabled=1 +metadata_expire=10 +skip_if_unavailable=True + +""" -- cgit