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 option to check if shim is in use - How to check if the system is using shim or not? #623

Open
adrelanos opened this issue Dec 16, 2023 · 1 comment

Comments

@adrelanos
Copy link

I've created an ISO with shim which really wasn't simple at all. Now I am testing it with QEMU.

Since shim as far as I know and please correct me if I am wrong doesn't produce any visual output, no log messages, hands over control to grub and is then "gone" it seems totally invisible.

How can I test if shim has booted first or if grub was booted?

Why do I want to know that? For the purpose of developing a QEMU based unit test that checks if the boot sequence (shim first) is correct.

@RomanValov
Copy link

I would check the existence of MokListRT and MokListXRT efi variables which shim does evaluate and set during boot.

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

No branches or pull requests

2 participants