1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-04-20 11:29:54 +00:00

runfvp: fix undefined variable in terminal selection login

Since 10e60cc the terminal_map doesn't exist, this piece of code wasn't
updated.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2022-01-21 16:41:59 +00:00
committed by Jon Mason
parent edf050394e
commit 254482284d

View File

@@ -182,7 +182,7 @@ def parse_config(args, config):
# TODO if raw mode
# cli.extend(["--parameter", f"{terminal}.mode=raw"])
# TODO put name into terminal title
cli.extend(["--parameter", f"{terminal}.terminal_command={terminal_map[args.terminals]}"])
cli.extend(["--parameter", f"{terminal}.terminal_command={terminals[args.terminals].command}"])
else:
# Disable terminal
cli.extend(["--parameter", f"{terminal}.start_telnet=0"])