]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Bump 256~devel version requirements to 256 2802/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 24 Jun 2024 11:39:37 +0000 (13:39 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 24 Jun 2024 11:39:37 +0000 (13:39 +0200)
Now that 256 is released, let's bump our 256~devel version requirements
to 256.

mkosi/__init__.py

index 3d1b6f7e2de2348cbda20468619b3d00fb308ded..9f87d8dd4ac3571318c33fc1733d99f72d959699 100644 (file)
@@ -2167,9 +2167,9 @@ def build_uki(
     if microcodes:
         # new .ucode section support?
         if (
-            systemd_tool_version(context.config, ukify) >= "256~devel" and
+            systemd_tool_version(context.config, ukify) >= "256" and
             (version := systemd_stub_version(context, stub)) and
-            version >= "256~devel"
+            version >= "256"
         ):
             for microcode in microcodes:
                 cmd += ["--microcode", microcode]
@@ -2875,7 +2875,7 @@ def check_tools(config: Config, verb: Verb) -> None:
             check_systemd_tool(
                 config,
                 "ukify", "/usr/lib/systemd/ukify",
-                version="256~devel",
+                version="256",
                 reason="sign Unified Kernel Image with OpenSSL engine",
             )
 
@@ -2883,7 +2883,7 @@ def check_tools(config: Config, verb: Verb) -> None:
                 check_systemd_tool(
                     config,
                     "systemd-measure",
-                    version="256~devel",
+                    version="256",
                     reason="sign PCR hashes with OpenSSL engine",
                 )
 
@@ -2891,7 +2891,7 @@ def check_tools(config: Config, verb: Verb) -> None:
             check_systemd_tool(
                 config,
                 "systemd-repart",
-                version="256~devel",
+                version="256",
                 reason="sign verity roothash signature with OpenSSL engine",
             )
 
@@ -2903,7 +2903,7 @@ def check_tools(config: Config, verb: Verb) -> None:
         check_systemd_tool(config, "systemd-nspawn", version="254", reason="boot images")
 
     if verb == Verb.qemu and config.vmm == Vmm.vmspawn:
-        check_systemd_tool(config, "systemd-vmspawn", version="256~devel", reason="boot images with vmspawn")
+        check_systemd_tool(config, "systemd-vmspawn", version="256", reason="boot images with vmspawn")
 
 
 def configure_ssh(context: Context) -> None: