When secureboot is turned off, stubby uses the efi shell provided
cmdline instead of the cmdline file. Change this behavior, as
it makes testing an unsigned blob or shim for basic bringup more
cumbersome. New (intended) behavior:
If secureboot is set, no change
If sb is off and there is no cmdline in the smoosh, then use the shell's.
If sb is off and there is a cmdline in the smoosh, then
check the LoadIgnoreStubCmdline UEFI variable. If it is set
to 1, use the shell-provided cmdline. Else continue to use the
cmdline in the smoosh file.
When secureboot is turned off, stubby uses the efi shell provided cmdline instead of the cmdline file. Change this behavior, as it makes testing an unsigned blob or shim for basic bringup more cumbersome. New (intended) behavior:
Signed-off-by: Serge Hallyn serge@hallyn.com