]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Add `UnifiedKernelImageFormat=` with specifiers 2733/head
authorMichael Ferrari <nekkodroid404@gmail.com>
Tue, 4 Jun 2024 11:26:00 +0000 (13:26 +0200)
committerMichael Ferrari <nekkodroid404@gmail.com>
Tue, 4 Jun 2024 12:41:30 +0000 (14:41 +0200)
commit594b40ebf6afcaeab6abdea2bd64765104349716
treedf254c2f07d11c7f1b8e6b38c51da4392065311b
parentdb4f811f21dd9112aee612991e05b782804544f2
Add `UnifiedKernelImageFormat=` with specifiers

This can be used to control the name to use for the UKI during image
generation. Special `&` specifiers can be used to include kernel
specific information in the filename.

This is useful for the `systemd-sysupdate` case, as you can set this to
`%i_%v` to use a format that can be parse by its configuration. The
current format used includes both a roothash as well as the kernel
version which both can't be matched by sysupdate.
mkosi/__init__.py
mkosi/config.py
mkosi/resources/mkosi.md
tests/test_config.py
tests/test_json.py