[OE-core] [PATCH v2] matchbox-keyboard: daemonize launch

Alexandre Belloni alexandre.belloni at free-electrons.com
Mon Feb 17 12:27:07 UTC 2014


On 17/02/2014 at 11:23:19 +0000, Burton, Ross wrote :
> On 16 February 2014 14:13, Alexandre Belloni
> <alexandre.belloni at free-electrons.com> wrote:
> >> Also, why do you need another shell instance, out of curiosity. ISTM
> >> that only wastes RAM..
> >
> > We create a shell and start in the background to wait for
> > matchbox-desktop to start. This allows X continue to start and run the
> > next Xsession scripts. And matchbox-desktop has to be the last started
> > program si we don't have any other way. Anyway, once the
> > matchbox-keyboard daemon starts, the shell will exit and not use ram
> > anymore.
> 
> As matchbox-keyboard.sh is being sourced, I don't think we need to subshell.
> 

Indeed, that seems to work, I will send v3.


-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the Openembedded-core mailing list