]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
mkosi-tools: move systemd-boot package to conf file matching older releases
authorLuca Boccassi <luca.boccassi@gmail.com>
Sat, 9 Aug 2025 14:05:48 +0000 (15:05 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 11 Aug 2025 13:26:04 +0000 (15:26 +0200)
Since debian 13/ubuntu 25.04 the tools needed at build time
(bootctl) are in the systemd-boot-tools package, so there's
no need to pull in the systemd-boot package in the tools image,
since it is an integration point that sets up the local ESP and
so on

mkosi/resources/mkosi-tools/mkosi.conf.d/debian-kali-ubuntu/mkosi.conf.d/efi.conf
mkosi/resources/mkosi-tools/mkosi.conf.d/debian-kali-ubuntu/mkosi.conf.d/systemd-boot.conf [new file with mode: 0644]

index 3c46fbd23a93e0a001c12f6232eb45092458d90c..a26a31e33c005a62a29fee199740486df9a7c5cb 100644 (file)
@@ -17,5 +17,4 @@ Architecture=uefi
 [Content]
 Packages=
         sbsigntool
-        systemd-boot
         systemd-boot-efi
diff --git a/mkosi/resources/mkosi-tools/mkosi.conf.d/debian-kali-ubuntu/mkosi.conf.d/systemd-boot.conf b/mkosi/resources/mkosi-tools/mkosi.conf.d/debian-kali-ubuntu/mkosi.conf.d/systemd-boot.conf
new file mode 100644 (file)
index 0000000..fcbec73
--- /dev/null
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+# TODO: drop once these releases are EOL and systemd-boot-tools is available everywhere
+[TriggerMatch]
+Distribution=debian
+Release=|bullseye
+Release=|bookworm
+
+[TriggerMatch]
+Distribution=ubuntu
+Release=|jammy
+Release=|noble
+Release=|plucky
+
+[Match]
+Architecture=uefi
+
+[Content]
+Packages=
+        systemd-boot