From: Daan De Meyer Date: Mon, 1 Sep 2025 15:31:29 +0000 (+0200) Subject: mkosi: Add hyperscale profile X-Git-Tag: v259-rc2~22^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c41c4b2bf367b743d6de03f295dd5377765a342f;p=thirdparty%2Fsystemd.git 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. --- 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