utils/hooks: Set linux,stdout-path for primary console v1.2.0
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 7 Jun 2016 06:25:09 +0000 (16:25 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 29 Jun 2016 04:19:08 +0000 (14:19 +1000)
commit53aa247c013afcab0dd003fbb7bd056bebcb23e8
tree9967ccf48b0f8032bcdb77a95b53d901653b5dc9
parentd8d5dac0fcd80276b71184060e771804fb67d7c9
utils/hooks: Set linux,stdout-path for primary console

If the boot_tty environment variable is set, determine which device path
to set in the linux,stdout-path property, which will instruct the next
kernel to use it as the primary console.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
utils/hooks/30-add-offb.c