Bug 10472

Summary: devshell: list options when showing "no available terminal" error
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Stephano Cetola <stephano>
Status: VERIFIED FIXED QA Contact: Jose Perez C <jose.perez.carranza>
Severity: enhancement    
Priority: Medium+ CC: jose.perez.carranza, meta.mr.watcher, meta.watcher
Version: 2.2   
Target Milestone: 2.3 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

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