]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Add hyperscale profile
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 1 Sep 2025 15:31:29 +0000 (17:31 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 25 Nov 2025 10:02:34 +0000 (11:02 +0100)
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
mkosi/mkosi.pkgenv/mkosi.conf.d/hyperscale.conf [new file with mode: 0644]
mkosi/mkosi.profiles/hyperscale/mkosi.conf [new file with mode: 0644]

index 58d27fb34edfb98e2380ada818f3531d652ed04d..f43ed51c93b99c1e5c3a17c7737566f5796754fa 100644 (file)
@@ -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 (file)
index 0000000..5059d86
--- /dev/null
@@ -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 (file)
index 0000000..6f16b3f
--- /dev/null
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+Distribution=centos
+
+[Distribution]
+Repositories=hyperscale-packages-main