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

Fix secure boot #26

Closed
wants to merge 4 commits into from
Closed

Fix secure boot #26

wants to merge 4 commits into from

Conversation

DavidZagury
Copy link
Owner

What I did

Moved to use mokutil instead of bootctl as bootctl is no longer available in Bookworm.
This affected reboot scripts, and upgrade scenario.

How I did it

How to verify it

After fixing the scripts to check reboot:

root@sn5600:/home/admin# soft-reboot

  • SECURE_UPGRADE_ENABLED=1
  • [[ CHECK_SECURE_UPGRADE_ENABLED -ne 0 ]]
  • load_kernel_secure
  • invoke_kexec -s
    packet_write_wait: port 22: Broken pipe

admin@sn5600:~$ show reboot-cause
User issued 'soft-reboot' command [User: admin, Time: Tue Jul 23 11:06:43 PM UTC 2024]

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@DavidZagury DavidZagury changed the title Fix secure boot reboot Fix secure boot Aug 7, 2024
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