mirror of
https://github.com/linuxboot/heads.git
synced 2025-03-23 04:25:20 +00:00
kexec-select-boot: For debug inspection, drop to recovery
After saving a disk unlock key, if debug output is enabled, drop to a recovery shell to allow inspection of debug output. The script isn't intended to return from this point after sealing a key - returning attempts to boot, which can't unseal the key. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
parent
8bf5415e79
commit
bc736450cb
@ -302,7 +302,9 @@ user_select() {
|
||||
|| die "!!! Failed to reboot system"
|
||||
else
|
||||
DEBUG "Rebooting is required prior of booting default boot entry"
|
||||
sleep 2
|
||||
# Instead of rebooting, drop to a recovery shell
|
||||
# for a chance to inspect debug output
|
||||
recovery "!!! Entering recovery to inspect debug output, reboot to continue"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user