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

Generate UKI file for DTS and iPXE #233

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from
Draft

Generate UKI file for DTS and iPXE #233

wants to merge 4 commits into from

Conversation

m-iwanicki
Copy link
Contributor

@macpijan What do you think about this PR?
We could use it as a first step to creating SB capable image (built from kas.yml not separate one).
To enable SB when booting via USB we would need couple more changes (add at least shim)
From my testing grub.cfg file is used only on EFI platform. When booting on legacy BIOS, old config is used.
This PR creates 2 files:

  • dts.efi - UKI containing linux stub and kernel. It's in target image under /boot/EFI/DTS/dts.efi and booted via chainloader command
  • ipxe_dts.efi - UKI containing linux stub, kernel and rootfs (as initrd). It can be booted via iPXE (e.g. by chain command).
    It can be signed and deployed to boot.dasharo.com via our CI. It would allow booting DTS via iPXE with secure boot enabled (after couple changes in dts.ipxe script).

@m-iwanicki m-iwanicki requested a review from macpijan February 3, 2025 13:23
@m-iwanicki m-iwanicki self-assigned this Feb 3, 2025
@m-iwanicki
Copy link
Contributor Author

Related to: Dasharo/dasharo-issues#1218 (comment)

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

Successfully merging this pull request may close these issues.

1 participant