From 4ac43206c35d2b9981ff85c483a15bdb34a059f6 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Jan 22 2022 14:31:13 +0000 Subject: Add Hyperscale spin configs --- diff --git a/mock/centos-stream-hyperscale-spin-8-aarch64.cfg b/mock/centos-stream-hyperscale-spin-8-aarch64.cfg new file mode 100644 index 0000000..6929fee --- /dev/null +++ b/mock/centos-stream-hyperscale-spin-8-aarch64.cfg @@ -0,0 +1,22 @@ +include('templates/centos-stream-8.tpl') +include('templates/epel-8.tpl') +include('templates/epel-next-8.tpl') + +config_opts['root'] = 'centos-stream-hyperscale-spin-8-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.el8" +config_opts['macros']['%centos_hs'] = "1" + +config_opts['dnf.conf'] += """ + +[Stream-hyperscale-spin] +name=CentOS-Stream - Hyperscale Spin +baseurl=http://mirror.centos.org/centos/8-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-8-x86_64.cfg b/mock/centos-stream-hyperscale-spin-8-x86_64.cfg new file mode 100644 index 0000000..da108cf --- /dev/null +++ b/mock/centos-stream-hyperscale-spin-8-x86_64.cfg @@ -0,0 +1,22 @@ +include('templates/centos-stream-8.tpl') +include('templates/epel-8.tpl') +include('templates/epel-next-8.tpl') + +config_opts['root'] = 'centos-stream-hyperscale-spin-8-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.el8" +config_opts['macros']['%centos_hs'] = "1" + +config_opts['dnf.conf'] += """ + +[Stream-hyperscale-spin] +name=CentOS-Stream - Hyperscale Spin +baseurl=http://mirror.centos.org/centos/8-stream/hyperscale/$basearch/packages-spin/ +gpgcheck=1 +enabled=1 +gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale +"""