[OE-core] [PATCH 2/2] devshell.bbclass: add editors for devshell
Robert Yang
liezhi.yang at windriver.com
Mon Mar 13 08:25:49 UTC 2017
On 03/13/2017 04:24 PM, Richard Purdie wrote:
> On Mon, 2017-03-13 at 00:46 -0700, Robert Yang wrote:
>> * The vi, vim, emacs and nano can be used in devshell.
>>
>> * The groups, lesspipe and dircolors are required by
>> /etc/skel/.bashrc on
>> Ubuntu 14.04, otherwise, there would be warnings when start
>> devshell:
>> bash: groups: command not found
>> bash: lesspipe: command not found
>> bash: dircolors: command not found
>>
>> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
>> ---
>> meta/classes/devshell.bbclass | 6 ++++++
>> 1 file changed, 6 insertions(+)
>>
>> diff --git a/meta/classes/devshell.bbclass
>> b/meta/classes/devshell.bbclass
>> index 4de7ea6fce..055d21ba50 100644
>> --- a/meta/classes/devshell.bbclass
>> +++ b/meta/classes/devshell.bbclass
>> @@ -2,6 +2,12 @@ inherit terminal
>>
>> DEVSHELL = "${SHELL}"
>>
>> +# Tools used in devshell
>> +HOSTTOOLS_NONFATAL += "vi vim emacs nano"
>
> Thinking about this further, I think we need to restore PATH for the
> devshell. We can't really go down the road of trying to add in links
> for any tool the developer may want to use...
Yes, that would be great.
// Robert
>
> Cheers,
>
> Richard
>
More information about the Openembedded-core
mailing list