Bug 10472 - devshell: list options when showing "no available terminal" error
Summary: devshell: list options when showing "no available terminal" error
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.3 M1
Assignee: Stephano Cetola
QA Contact: Jose Perez C
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-10-20 23:00 UTC by Paul Eggleton
Modified: 2016-12-06 22:34 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2016-10-20 23:00:02 UTC
When you launch a devshell on a machine that doesn't have an appropriate terminal installed, you get "No valid terminal found, unable to open devshell". It would be nice if it listed what it tried (or even better suggested options for what to install) so that the user knows what to do.

The implementation for this is in meta/classes/terminal.bbclass and meta/lib/oe/terminal.py.
Comment 2 Jose Perez C 2016-12-06 22:34:51 UTC
Verified on commit : 9e63f81c78e284c9b325fe04a1b59e61c7ad8a1a is working as expected 

----- output -----
ERROR: matchbox-desktop-2.1-r0 do_devshell: OE_TERMINAL: Invalid choice 'ddddd'.  Valid choices: auto none                         custom tmux-running tmux-new-window xfce terminology mate gnome konsole rxvt xterm tmux screen