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 CONFIG_BOOT_RECOVERY_SERIAL to qemu board configs to interact with host through serial #1241

Merged

Conversation

tlaurion
Copy link
Collaborator

As a result, you will get expected pause_recovery (etc/functions) output "Hit enter to proceed to recovery shell:" prompt on ttyS0 (stdio: where qemu is launched) while whiptail is shown only once on host (qemu/kvm).

This is important in case of TPM, since entering recovery shell will invalidate measurements and prevent TPM disk encryption key to be unsealed if going to recovery shell.

By removing the CONFIG_BOOT_RECOVERY_SERIAL board configuration export, only dmesg is redirected to ttyS0 (helpful to debug)

@tlaurion
Copy link
Collaborator Author

@JonathonHall-Purism please review!

@JonathonHall-Purism
Copy link
Collaborator

Works for me, did a quick test of qemu-fbwhiptail-tpm1-hotp under Debian Qemu/KVM. Looks great 🚢

@tlaurion
Copy link
Collaborator Author

We can improve on that on #1245

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