From 08b25ee6262756dd1c2e41d299de01199a93f603 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Jan 22 2022 15:20:56 +0000 Subject: Add CentOS Stream 9 Hyperscale configs --- diff --git a/mock/centos-stream-hyperscale-9-aarch64.cfg b/mock/centos-stream-hyperscale-9-aarch64.cfg new file mode 100644 index 0000000..27bca51 --- /dev/null +++ b/mock/centos-stream-hyperscale-9-aarch64.cfg @@ -0,0 +1,22 @@ +include('templates/centos-stream-9.tpl') +include('templates/epel-9.tpl') +include('templates/epel-next-9.tpl') + +config_opts['root'] = 'centos-stream-hyperscale-9-aarch64' +config_opts['target_arch'] = 'aarch64' +config_opts['legal_host_arches'] = ('aarch64',) + +config_opts['chroot_setup_cmd'] += " centos-release-hyperscale" + +config_opts['macros']['%dist'] = ".hs.el9" +config_opts['macros']['%centos_hs'] = "1" + +config_opts['dnf.conf'] += """ + +[Stream-hyperscale] +name=CentOS Stream $releasever - Hyperscale +baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/$basearch/packages-main/ +gpgcheck=1 +enabled=1 +gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale +""" diff --git a/mock/centos-stream-hyperscale-9-x86_64.cfg b/mock/centos-stream-hyperscale-9-x86_64.cfg new file mode 100644 index 0000000..a705c8c --- /dev/null +++ b/mock/centos-stream-hyperscale-9-x86_64.cfg @@ -0,0 +1,22 @@ +include('templates/centos-stream-9.tpl') +include('templates/epel-9.tpl') +include('templates/epel-next-9.tpl') + +config_opts['root'] = 'centos-stream-hyperscale-9-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['legal_host_arches'] = ('x86_64',) + +config_opts['chroot_setup_cmd'] += " centos-release-hyperscale" + +config_opts['macros']['%dist'] = ".hs.el9" +config_opts['macros']['%centos_hs'] = "1" + +config_opts['dnf.conf'] += """ + +[Stream-hyperscale] +name=CentOS Stream $releasever - Hyperscale +baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/$basearch/packages-main/ +gpgcheck=1 +enabled=1 +gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale +""" diff --git a/mock/centos-stream-hyperscale-experimental-9-aarch64.cfg b/mock/centos-stream-hyperscale-experimental-9-aarch64.cfg new file mode 100644 index 0000000..fec0df0 --- /dev/null +++ b/mock/centos-stream-hyperscale-experimental-9-aarch64.cfg @@ -0,0 +1,22 @@ +include('templates/centos-stream-9.tpl') +include('templates/epel-9.tpl') +include('templates/epel-next-9.tpl') + +config_opts['root'] = 'centos-stream-hyperscale-experimental-9-aarch64' +config_opts['target_arch'] = 'aarch64' +config_opts['legal_host_arches'] = ('aarch64',) + +config_opts['chroot_setup_cmd'] += " centos-release-hyperscale-experimental" + +config_opts['macros']['%dist'] = ".hsx.el9" +config_opts['macros']['%centos_hs'] = "1" + +config_opts['dnf.conf'] += """ + +[Stream-hyperscale-experimental] +name=CentOS Stream $releasever - Hyperscale Experimental +baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/$basearch/packages-experimental/ +gpgcheck=1 +enabled=1 +gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale +""" diff --git a/mock/centos-stream-hyperscale-experimental-9-x86_64.cfg b/mock/centos-stream-hyperscale-experimental-9-x86_64.cfg new file mode 100644 index 0000000..00ce9fe --- /dev/null +++ b/mock/centos-stream-hyperscale-experimental-9-x86_64.cfg @@ -0,0 +1,22 @@ +include('templates/centos-stream-9.tpl') +include('templates/epel-9.tpl') +include('templates/epel-next-9.tpl') + +config_opts['root'] = 'centos-stream-hyperscale-experimental-9-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['legal_host_arches'] = ('x86_64',) + +config_opts['chroot_setup_cmd'] += " centos-release-hyperscale-experimental" + +config_opts['macros']['%dist'] = ".hsx.el9" +config_opts['macros']['%centos_hs'] = "1" + +config_opts['dnf.conf'] += """ + +[Stream-hyperscale-experimental] +name=CentOS Stream $releasever - Hyperscale Experimental +baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/$basearch/packages-experimental/ +gpgcheck=1 +enabled=1 +gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale +""" diff --git a/mock/centos-stream-hyperscale-spin-9-aarch64.cfg b/mock/centos-stream-hyperscale-spin-9-aarch64.cfg new file mode 100644 index 0000000..06ca8ff --- /dev/null +++ b/mock/centos-stream-hyperscale-spin-9-aarch64.cfg @@ -0,0 +1,22 @@ +include('templates/centos-stream-9.tpl') +include('templates/epel-9.tpl') +include('templates/epel-next-9.tpl') + +config_opts['root'] = 'centos-stream-hyperscale-spin-9-aarch64' +config_opts['target_arch'] = 'aarch64' +config_opts['legal_host_arches'] = ('aarch64',) + +config_opts['chroot_setup_cmd'] += " centos-release-hyperscale-spin" + +config_opts['macros']['%dist'] = ".hs.el9" +config_opts['macros']['%centos_hs'] = "1" + +config_opts['dnf.conf'] += """ + +[Stream-hyperscale-spin] +name=CentOS Stream $releasever - Hyperscale Spin +baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/$basearch/packages-spin/ +gpgcheck=1 +enabled=1 +gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale +""" diff --git a/mock/centos-stream-hyperscale-spin-9-x86_64.cfg b/mock/centos-stream-hyperscale-spin-9-x86_64.cfg new file mode 100644 index 0000000..4e38fae --- /dev/null +++ b/mock/centos-stream-hyperscale-spin-9-x86_64.cfg @@ -0,0 +1,22 @@ +include('templates/centos-stream-9.tpl') +include('templates/epel-9.tpl') +include('templates/epel-next-9.tpl') + +config_opts['root'] = 'centos-stream-hyperscale-spin-9-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['legal_host_arches'] = ('x86_64',) + +config_opts['chroot_setup_cmd'] += " centos-release-hyperscale-spin" + +config_opts['macros']['%dist'] = ".hs.el9" +config_opts['macros']['%centos_hs'] = "1" + +config_opts['dnf.conf'] += """ + +[Stream-hyperscale-spin] +name=CentOS Stream $releasever - Hyperscale Spin +baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/$basearch/packages-spin/ +gpgcheck=1 +enabled=1 +gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale +"""