* How to tell bitbake my prefered terminal in for devshell and access bitbake datastore?
@ 2018-07-23 9:49 MOHAMMAD RASIM
2018-07-23 15:05 ` Rudolf J Streif
0 siblings, 1 reply; 3+ messages in thread
From: MOHAMMAD RASIM @ 2018-07-23 9:49 UTC (permalink / raw)
To: yocto
Hi,
when running bitbake with a recipe and giving the devshell as a command
bitbake runs the devshell inside xterm, on my other machine it runs tmux.
looking at the openembedded source code here
https://github.com/openembedded/openembedded-core/blob/master/meta/lib/oe/terminal.py
I can see there are multiple classes for terminals that bitbake loop
through, but how can I tell bitbake that I prefer a certain terminal?
Also, is it possible to access bitbake datastore from inside the
devshell(or devpyshell) ?
Regards
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to tell bitbake my prefered terminal in for devshell and access bitbake datastore?
2018-07-23 9:49 How to tell bitbake my prefered terminal in for devshell and access bitbake datastore? MOHAMMAD RASIM
@ 2018-07-23 15:05 ` Rudolf J Streif
2018-07-23 15:37 ` MOHAMMAD RASIM
0 siblings, 1 reply; 3+ messages in thread
From: Rudolf J Streif @ 2018-07-23 15:05 UTC (permalink / raw)
To: MOHAMMAD RASIM, yocto
[-- Attachment #1.1: Type: text/plain, Size: 1136 bytes --]
You can use the variable OE_TERMINAL to choose your preferred terminal.
By default it's set to auto and Bitbake figures out what terminal is
available on your system. Please refer to the manual at:
https://www.yoctoproject.org/docs/2.5/mega-manual/mega-manual.html#var-OE_TERMINAL.
> Also, is it possible to access bitbake datastore from inside the
devshell(or devpyshell) ?
You cannot access d if you mean that, however, all the variables are
exported to the shell.
:rjs
On 07/23/2018 02:49 AM, MOHAMMAD RASIM wrote:
> Hi,
>
> when running bitbake with a recipe and giving the devshell as a
> command bitbake runs the devshell inside xterm, on my other machine it
> runs tmux.
>
> looking at the openembedded source code here
> https://github.com/openembedded/openembedded-core/blob/master/meta/lib/oe/terminal.py
>
> I can see there are multiple classes for terminals that bitbake loop
> through, but how can I tell bitbake that I prefer a certain terminal?
>
> Also, is it possible to access bitbake datastore from inside the
> devshell(or devpyshell) ?
>
> Regards
>
--
Rudolf J Streif
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 499 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to tell bitbake my prefered terminal in for devshell and access bitbake datastore?
2018-07-23 15:05 ` Rudolf J Streif
@ 2018-07-23 15:37 ` MOHAMMAD RASIM
0 siblings, 0 replies; 3+ messages in thread
From: MOHAMMAD RASIM @ 2018-07-23 15:37 UTC (permalink / raw)
To: Rudolf J Streif, yocto
[-- Attachment #1: Type: text/plain, Size: 1566 bytes --]
Thanks, the OE_TERMINALvariable did it for me
>You cannot access d if you mean that
I don't mean d the object but the variables that are accessed by
d.getVar method.
>all the variables are exported to the shell.
What variables exactly? I just tried to echo some of the machine config
and recipe variables and they don't exist inside the devshell
On 07/23/2018 06:05 PM, Rudolf J Streif wrote:
> You can use the variable OE_TERMINAL to choose your preferred terminal.
> By default it's set to auto and Bitbake figures out what terminal is
> available on your system. Please refer to the manual at:
> https://www.yoctoproject.org/docs/2.5/mega-manual/mega-manual.html#var-OE_TERMINAL.
>
>> Also, is it possible to access bitbake datastore from inside the
> devshell(or devpyshell) ?
>
> You cannot access d if you mean that, however, all the variables are
> exported to the shell.
>
> :rjs
>
>
> On 07/23/2018 02:49 AM, MOHAMMAD RASIM wrote:
>> Hi,
>>
>> when running bitbake with a recipe and giving the devshell as a
>> command bitbake runs the devshell inside xterm, on my other machine it
>> runs tmux.
>>
>> looking at the openembedded source code here
>> https://github.com/openembedded/openembedded-core/blob/master/meta/lib/oe/terminal.py
>>
>> I can see there are multiple classes for terminals that bitbake loop
>> through, but how can I tell bitbake that I prefer a certain terminal?
>>
>> Also, is it possible to access bitbake datastore from inside the
>> devshell(or devpyshell) ?
>>
>> Regards
>>
[-- Attachment #2: Type: text/html, Size: 2512 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-23 15:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-23 9:49 How to tell bitbake my prefered terminal in for devshell and access bitbake datastore? MOHAMMAD RASIM
2018-07-23 15:05 ` Rudolf J Streif
2018-07-23 15:37 ` MOHAMMAD RASIM
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.