Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for building UKI addons #3074

Merged
merged 2 commits into from
Sep 29, 2024

Conversation

NekkoDroid
Copy link
Contributor

Not something I personally need anymore (so feel free to close), but I already implemented it and thought this might be useful to some.

This basically just reuses ukifys ability to take config files in which you can configure whatever (e.g. Cmdline=, DeviceTree=, ...) and passes the output target and secure boot parameters when needed. This should allow additions to ukify without needing to update the code here.

mkosi/resources/man/mkosi.md Outdated Show resolved Hide resolved
mkosi/__init__.py Show resolved Hide resolved
mkosi/__init__.py Outdated Show resolved Hide resolved
mkosi/__init__.py Outdated Show resolved Hide resolved
@NekkoDroid NekkoDroid force-pushed the mkosi-uki-addons branch 5 times, most recently from 862e239 to 105d81c Compare September 28, 2024 21:38
mkosi/__init__.py Outdated Show resolved Hide resolved
mkosi/__init__.py Outdated Show resolved Hide resolved
mkosi/__init__.py Outdated Show resolved Hide resolved
mkosi/__init__.py Outdated Show resolved Hide resolved
mkosi/__init__.py Outdated Show resolved Hide resolved
mkosi/__init__.py Outdated Show resolved Hide resolved
mkosi/config.py Outdated Show resolved Hide resolved
@DaanDeMeyer DaanDeMeyer merged commit 5d45c4d into systemd:main Sep 29, 2024
35 of 36 checks passed
@@ -4479,6 +4489,7 @@ def summary(config: Config) -> str:
Shim Bootloader: {config.shim_bootloader}
Unified Kernel Images: {config.unified_kernel_images}
Unified Kernel Image Format: {config.unified_kernel_image_format}
Unified Kernel Image Addons: {line_join_list(config.pe_addons)}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit too late at this, but I think this should mention "PE" somehow, too, e.g. "Unified Kernel Image PE Addons", since the option is named --pe-addon, that is what I would grep for in the output of mkosi summary.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops, forgot to rename that. Probably should only be "PE Addons" since that is what they are referred to in the spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants