discover/boot: Set boot_tty variable before kexec
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 8 Jun 2016 03:51:37 +0000 (13:51 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 29 Jun 2016 04:19:08 +0000 (14:19 +1000)
commit3f06f8808f79f13650394bab80bf96426323a5f8
treebc7cd4e9c1062c537651f52d2d84b6a4f30fe82a
parentce54f866b2b9e48bab73acd73b4c05a057f9ddca
discover/boot: Set boot_tty variable before kexec

If boot_tty is set or a boot command is sent manually from a certain
console, set the boot_tty environment variable to be used by a boot hook
before kexec.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/boot.c