mkosi now supports CentOS SIGs natively so we drop our own definition
of that and use the mkosi builtin one. We also enable hyperscale for
both CentOS 8 and CentOS 9 for consistency and add epel-next as well
which is a requirement for Hyperscale.
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- - uses: systemd/mkosi@b1a570550ee077ed7a9a9359e4732636034807e6
+ - uses: systemd/mkosi@5866c0ff3b36d350c943016e5a3b115f7a95d37f
- name: Configure
run: |
[Distribution]
Release=9
Repositories=epel
+ epel-next
+ hyperscale-packages-main
+++ /dev/null
-# SPDX-License-Identifier: LGPL-2.1-or-later
-
-[Match]
-Distribution=centos
-Release=8
-
-[Distribution]
-PackageManagerTrees=mkosi.reposdir:/etc/yum.repos.d
+++ /dev/null
-[centos-hyperscale]
-name=CentOS Stream $releasever - Hyperscale
-mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=hyperscale-packages-main
-#baseurl=http://mirror.centos.org/$contentdir/$stream/hyperscale/$basearch/packages-main/
-gpgcheck=1
-enabled=1
-gpgkey=https://git.centos.org/rpms/centos-release-hyperscale/raw/c8s-sig-hyperscale/f/SOURCES/RPM-GPG-KEY-CentOS-SIG-HyperScale
+++ /dev/null
-# SPDX-License-Identifier: LGPL-2.1-or-later
-
-[powertools-hotfixes]
-name=powertools-hotfixes
-mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=PowerTools
-gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official
-gpgcheck=1
-enabled=1
-module_hotfixes=1
-skip_if_unavailable=1