summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-06-08 14:10:28 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-06-29 14:19:08 +1000
commitec82dfa6207090d285c4617e1d0a7a2284e390c3 (patch)
treead99e6235d6059c8156b884c6967aac700121d0a
parent3f06f8808f79f13650394bab80bf96426323a5f8 (diff)
downloadpetitboot-ec82dfa6207090d285c4617e1d0a7a2284e390c3.zip
petitboot-ec82dfa6207090d285c4617e1d0a7a2284e390c3.tar.gz
ui/common: Set current console on boot command
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
-rw-r--r--ui/common/discover-client.c1
1 files changed, 1 insertions, 0 deletions
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,
OpenPOWER on IntegriCloud