bundles/kodi: add missing dependencies

This commit is contained in:
Franzi 2020-10-03 18:36:48 +02:00
parent c2bcd1f0d9
commit 5e8489a74c
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 9 additions and 2 deletions

View file

@ -2,7 +2,6 @@
Description=Kodi
Conflicts=getty@tty7.service
After=systemd-user-sessions.service getty@tty7.service plymouth-quit.service
StartLimitIntervalSec=2
[Service]
User=kodi
@ -13,6 +12,7 @@ WorkingDirectory=/home/kodi
StandardOutput=journal
Restart=always
RestartSec=2
StartLimitInterval=0
[Install]
WantedBy=graphical.target

View file

@ -5,7 +5,11 @@ files = {
'svc_systemd:kodi:restart',
},
},
'/etc/X11/Xwrapper.config': {},
'/etc/X11/Xwrapper.config': {
'needs': {
'pkg_apt:xserver-xorg-legacy',
},
},
}
svc_systemd = {
@ -14,6 +18,7 @@ svc_systemd = {
'file:/etc/systemd/system/kodi.service',
'file:/etc/X11/Xwrapper.config',
'pkg_apt:kodi',
'pkg_apt:xinit',
'user:kodi',
},
},

View file

@ -10,6 +10,8 @@ defaults = {
'ttf-mscorefonts-installer': {},
'tv-fonts': {},
'xfonts-base': {},
'xinit': {},
'xserver-xorg': {},
'xserver-xorg-legacy': {},
},
},