[PATCH 4/6] ui/common: Set current console on boot command
Samuel Mendoza-Jonas
sam at mendozajonas.com
Wed Jun 8 16:28:10 AEST 2016
Signed-off-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>
---
ui/common/discover-client.c | 1 +
1 file changed, 1 insertion(+)
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,
--
2.8.3
More information about the Petitboot
mailing list