]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Drop "mkosi" from UKI names
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 22 Aug 2023 10:05:45 +0000 (12:05 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 22 Aug 2023 10:05:45 +0000 (12:05 +0200)
Let's not leak that the image was generated by mkosi into the image
via the UKI name.

mkosi/__init__.py

index ff96362fc92c4576bf9b7512a4908d4a5143a080..b142619fc603950d76a8600122c8c787997f2f2d 100644 (file)
@@ -1018,7 +1018,7 @@ def install_unified_kernel(state: MkosiState, partitions: Sequence[Partition]) -
 
     for kver, kimg in gen_kernel_images(state):
         with complete_step(f"Generating unified kernel image for {kimg}"):
-            image_id = state.config.image_id or f"mkosi-{state.config.distribution}"
+            image_id = state.config.image_id or state.config.distribution.name
 
             # See https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT/#boot-counting
             boot_count = ""