From c41c4b2bf367b743d6de03f295dd5377765a342f Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mon, 1 Sep 2025 17:31:29 +0200 Subject: [PATCH] mkosi: Add hyperscale profile In the CentOS Hyperscale SIG, we maintain a backport of systemd with its own rpm spec forked from rawhide. Let's make it easy to build upstream rpms using the Hyperscale spec by adding a mkosi hyperscale profile. --- mkosi/mkosi.pkgenv/mkosi.conf.d/centos-fedora.conf | 1 + mkosi/mkosi.pkgenv/mkosi.conf.d/hyperscale.conf | 14 ++++++++++++++ mkosi/mkosi.profiles/hyperscale/mkosi.conf | 7 +++++++ 3 files changed, 22 insertions(+) create mode 100644 mkosi/mkosi.pkgenv/mkosi.conf.d/hyperscale.conf create mode 100644 mkosi/mkosi.profiles/hyperscale/mkosi.conf diff --git a/mkosi/mkosi.pkgenv/mkosi.conf.d/centos-fedora.conf b/mkosi/mkosi.pkgenv/mkosi.conf.d/centos-fedora.conf index 58d27fb34ed..f43ed51c93b 100644 --- a/mkosi/mkosi.pkgenv/mkosi.conf.d/centos-fedora.conf +++ b/mkosi/mkosi.pkgenv/mkosi.conf.d/centos-fedora.conf @@ -3,6 +3,7 @@ [Match] Distribution=|fedora Distribution=|centos +Profiles=!hyperscale [Build] Environment= diff --git a/mkosi/mkosi.pkgenv/mkosi.conf.d/hyperscale.conf b/mkosi/mkosi.pkgenv/mkosi.conf.d/hyperscale.conf new file mode 100644 index 00000000000..5059d861611 --- /dev/null +++ b/mkosi/mkosi.pkgenv/mkosi.conf.d/hyperscale.conf @@ -0,0 +1,14 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Match] +Profiles=hyperscale + +[Assert] +Distribution=centos + +[Build] +Environment= + GIT_URL=https://gitlab.com/CentOS/Hyperscale/rpms/systemd.git + GIT_BRANCH=c10s-sig-hyperscale + GIT_COMMIT=417b671b173ea6271c00a3c605215b5f68795a3a + PKG_SUBDIR=hyperscale diff --git a/mkosi/mkosi.profiles/hyperscale/mkosi.conf b/mkosi/mkosi.profiles/hyperscale/mkosi.conf new file mode 100644 index 00000000000..6f16b3fe456 --- /dev/null +++ b/mkosi/mkosi.profiles/hyperscale/mkosi.conf @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Match] +Distribution=centos + +[Distribution] +Repositories=hyperscale-packages-main -- 2.47.3