This repository has been archived by the owner on Feb 23, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
luv-test-manager: Reboot after tests complete
For the purposes of wiring up LUV into an automated test environment, it's handy to have the machine automatically reboot after a configurable timeout period. It's important that we don't synchronously wait for the reboot to occur and continue to drop the user at a shell on the serial console, otherwise we'll lose one of the most useful methods of debugging. Read the timeout period, measured in seconds, from the EFI variable named LuvTimeout with GUID 3b6bf55d-a6f6-45cf-9f7e-ebf3bdadf74e. If the variable doesn't exist, use a default timeout value of 5 minutes. The reboot functionality can be disabled by specifying the "luv.noreboot" kernel command line parameter. Acked-by: Ricardo Neri <[email protected]> Signed-off-by: Matt Fleming <[email protected]>
- Loading branch information