]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Replace all 257~devel versions with 257
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 23 Jan 2025 12:07:31 +0000 (13:07 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 23 Jan 2025 12:35:25 +0000 (13:35 +0100)
mkosi/__init__.py
mkosi/bootloader.py

index ae022dddcbc1fe3f8a7548e552e6c32edd12d645..5d1dd8763c703f6b221da3d1f9cd0d9a673b2fdc 100644 (file)
@@ -2662,7 +2662,7 @@ def check_tools(config: Config, verb: Verb) -> None:
             if config.unified_kernel_image_profiles:
                 check_ukify(
                     config,
-                    version="257~devel",
+                    version="257",
                     reason="build unified kernel image profiles",
                     hint=(
                         "Use ToolsTree=default to download most required tools including ukify automatically"
@@ -2716,7 +2716,7 @@ def check_tools(config: Config, verb: Verb) -> None:
             and config.secure_boot_auto_enroll
             and (
                 not config.find_binary("bootctl")
-                or systemd_tool_version("bootctl", sandbox=config.sandbox) < "257~devel"
+                or systemd_tool_version("bootctl", sandbox=config.sandbox) < "257"
             )
         ):
             check_tool(config, "sbsiglist", reason="set up systemd-boot secure boot auto-enrollment")
@@ -2733,7 +2733,7 @@ def check_tools(config: Config, verb: Verb) -> None:
             config,
             "systemd-sysupdate",
             "/usr/lib/systemd/systemd-sysupdate",
-            version="257~devel",
+            version="257",
             reason="Update the host system with systemd-sysupdate",
         )
 
index d5af3925f707024a13e02516604adee47a9b3671..87a56cc03cc42df41babfe15195e84ab956a3a21 100644 (file)
@@ -671,7 +671,7 @@ def install_systemd_boot(context: Context) -> None:
     bootctlver = systemd_tool_version("bootctl", sandbox=context.sandbox)
 
     if want_bootctl_auto_enroll := (
-        context.config.secure_boot and context.config.secure_boot_auto_enroll and bootctlver >= "257~devel"
+        context.config.secure_boot and context.config.secure_boot_auto_enroll and bootctlver >= "257"
     ):
         cmd += ["--secure-boot-auto-enroll=yes"]
 
@@ -695,7 +695,7 @@ def install_systemd_boot(context: Context) -> None:
                 context.root / shim_second_stage_binary(context),
             )
 
-    if context.config.secure_boot and context.config.secure_boot_auto_enroll and bootctlver < "257~devel":
+    if context.config.secure_boot and context.config.secure_boot_auto_enroll and bootctlver < "257":
         assert context.config.secure_boot_key
         assert context.config.secure_boot_certificate