Commit graph

26 commits

Author SHA1 Message Date
Chad Wagner
7ce98a88c8
kodi: add shutdown hook to autostart 2022-01-16 14:23:21 -05:00
Lukas Rusak
da5396af1f
kodi: waitonnetwork service shouldn't be considered failed if it timed out 2021-03-02 08:13:58 -08:00
mglae
b464994d81 kodi-waitonnetwork.service: use wait-time-sync 2021-01-08 19:40:23 +01:00
mglae
240f54be13 kodi-waitonnetwork.service: don't show delay message, work silent 2021-01-06 18:22:46 +01:00
mglae
50926608a5 kodi-waitonnetwork: enabled by default with 10s 2021-01-06 18:22:46 +01:00
Matthias Reichl
cc8c6c628f kodi: move environment variables in systemd unit to environment file
Only set DISPLAY or WAYLAND_DISPLAY if actually running under
x11/wayland. This fixes latest kodi gbm refusing to start because
it thinks a window manager is active.

Also set the Nvidia-specific __GL_YIELD only when Nvidia drivers
are actually used and drop SDL_MOUSE_RELATIVE - kodi stopped using
SDL a long time ago.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-10-14 15:56:41 +02:00
MilhouseVH
67fe7002d4 kodi: adapt ALSA/PULSE for PR16913 2019-12-09 21:10:10 +00:00
Matthias Reichl
886bb0164a disable network online services when using kernel ip configuration
Also drop Requisite on connman.service as it's not really needed
(connman and network online services all have conditions on
!/dev/.kernel_ipconfig) and it causes a dependency failed message
as Requisites are evaluated before conditions.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-15 18:54:04 +01:00
Matthias Reichl
c0af07f97d kodi: give kodi enough time to properly shut down
The current stop timeout of 5 seconds is way too low and
leads to systemd frequently killing kodi while it's still
shutting down. This is really bad since it can potentially
lead to corrupted files or databases and should be avoided
at all costs.

eg plain kodi 18.4 setup with only pvr.hts installed takes
about 6 seconds to stop on RPi4.

Increase the stop timeout to 30 seconds to allow proper shutdown
on slower systems.

While that is still a lot lower than the 90 seconds
systemd default it should both be enough for very slow systems
and also for us and users to notice kodi issues - in which case
those issues have to be investigated.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-16 14:16:16 +02:00
CvH
31a943b161
Merge pull request #2232 from lrusak/wayland
wayland support
2017-12-18 18:52:20 +01:00
Lukas Rusak
f06b0c2fcb
kodi: allow building with DISPLAYSERVER=weston 2017-12-16 10:17:49 -08:00
MilhouseVH
03a4cd0cec kodi-config: detect boot loop, start clean 2017-12-14 17:58:59 +00:00
MilhouseVH
54634cf062 kodi: cleanups 2016-08-22 13:30:46 +01:00
MilhouseVH
e4657748c1 nvidia: Enable USLEEP to reduce CPU load while rendering 2016-05-25 18:31:52 +01:00
Lukas Rusak
40af353132 rebrand: LibreELEC 2016-03-12 01:41:55 +01:00
Lukas Rusak
0ac03dde6c kodi: use connmand-wait-online and rework service dependencies 2016-02-03 11:29:49 +01:00
Stefan Saraev
60ab2c0410 kodi: shutdown.sh: source etc/profile
lets make this consistent as with autostart.sh. too many people
have no idea how to deal with $PATH and why their 3rdparty stuff
dont work in shutdown.sh.
2015-04-29 20:33:51 +03:00
Stefan Saraev
bb6828780d kodi-waitonnetwork: start late 2015-01-18 17:48:09 +02:00
Stefan Saraev
35226d6234 kodi-cleanlogs has no job in sysinit.target 2015-01-18 17:36:34 +02:00
Stefan Saraev
dfd56decd3 kodi: merge kodi-hacks/kodi-sources into kodi-config 2015-01-18 17:35:30 +02:00
Stefan Saraev
673fcfd4dc kodi: remove kodi-rebrand 2015-01-18 17:14:50 +02:00
Stefan Saraev
be8d1c810c kodi: run via wrapper. dump a crashlog on SEGV whenever possible 2015-01-04 00:10:13 +02:00
Stefan Saraev
3d16eb6303 kodi: make autostart service conditional 2014-12-11 22:25:59 +02:00
Stephan Raue
7a2aad669a kodi: set LimitNOFILE to 16384, to make mythtv pvr addon happy
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-11-29 21:59:56 +01:00
Stephan Raue
3235ac4cf9 kodi-cleanlogs.service: move to sysinit 2014-11-08 19:43:59 +01:00
Stephan Raue
2810c70421 [xbmc-rebrand] xbmc: move to package 'kodi'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-10-21 12:31:34 +02:00