Skip to content

ci: add mkosi configuration and CI#764

Merged
vathpela merged 1 commit intorhboot:mainfrom
bluca:ci
Jul 23, 2025
Merged

ci: add mkosi configuration and CI#764
vathpela merged 1 commit intorhboot:mainfrom
bluca:ci

Conversation

@bluca
Copy link
Copy Markdown
Contributor

@bluca bluca commented Jul 22, 2025

Build a set of images across the following matrix:

  • debian/ubuntu/fedora/centos
  • grub/systemd-boot
  • UKI/kernel
  • x86-64/arm64

And boot them in qemu, running a smoke test that ensures the image is bootable and secure boot is configured correctly. When booting a UKI, a MOK-signed addon is also loaded and verified.

Shim is signed with a local certificate enrolled in 'db' via virt-firmware before booting. The distro signing certificate is embedde in shim, for distro-signed second stages and kernels.

Build a set of images across the following matrix:

- debian/ubuntu/fedora/centos
- grub/systemd-boot
- UKI/kernel
- x86-64/arm64

And boot them in qemu, running a smoke test that ensures the
image is bootable and secure boot is configured correctly.
When booting a UKI, a MOK-signed addon is also loaded and
verified.

Shim is signed with a local certificate enrolled in 'db' via
virt-firmware before booting. The distro signing certificate
is embedde in shim, for distro-signed second stages and kernels.

Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
@bluca
Copy link
Copy Markdown
Contributor Author

bluca commented Jul 22, 2025

Example run (it won't run here until it's merged): https://github.com/bluca/shim/actions/runs/16449604785

Copy link
Copy Markdown
Member

@vathpela vathpela left a comment

Choose a reason for hiding this comment

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

This looks great to me.

@vathpela vathpela merged commit 8522612 into rhboot:main Jul 23, 2025
20 checks passed
@bluca bluca deleted the ci branch July 23, 2025 19:13
@bluca
Copy link
Copy Markdown
Contributor Author

bluca commented Jul 23, 2025

...and of course I wrote 'master' instead of 'main' in the yaml before opening the pr, as I had it set to 'ci' to test it when pushing to my work lol -> #765

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.

2 participants