From: Samuel Mendoza-Jonas Date: Wed, 8 Jun 2016 04:10:28 +0000 (+1000) Subject: ui/common: Set current console on boot command X-Git-Tag: v1.2.0~2 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=ec82dfa6207090d285c4617e1d0a7a2284e390c3;ds=sidebyside ui/common: Set current console on boot command Signed-off-by: Samuel Mendoza-Jonas --- diff --git a/ui/common/discover-client.c b/ui/common/discover-client.c index 71ef70b..6247dd0 100644 --- a/ui/common/discover-client.c +++ b/ui/common/discover-client.c @@ -312,6 +312,7 @@ static void create_boot_command(struct boot_command *command, command->initrd_file = data->initrd; command->dtb_file = data->dtb; command->boot_args = data->args; + command->tty = ttyname(STDIN_FILENO); } int discover_client_boot(struct discover_client *client,