[Buildroot] [PATCH 1/2] package/xbmc: enhance startup script
thomas.petazzoni at free-electrons.com
Tue Sep 2 07:06:12 UTC 2014
Dear Yann E. MORIN,
On Mon, 1 Sep 2014 18:31:40 +0200, Yann E. MORIN wrote:
> Now that we can run XBMC with full openGL, it needs an X server to be
> running, so it has to wait for it before running.
> So, we create a config file (in /etc/default/xbmc) in which we store
> whther to wait for an X server or not. All options to XBMC are now
> hard-coded in our br-xbmc wrapper, not unlike we're doing for the
> systemd unit.
> Then, if it has to wait for X, our own br-xbmc wrapper will do the
> waiting. We do it as thus, because we can not do it in the startup
Waiting for X to start seems a bit clunky. Why not instead use the X
mechanisms (.Xsession, or other initialization files) to let X start
XBMC when X is ready?
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
More information about the buildroot