mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
alarm/xbmc-rbp-git update .service and .install
This commit is contained in:
parent
b01ba5999d
commit
74674db01a
3 changed files with 6 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
buildarch=16
|
||||
|
||||
pkgname=xbmc-rbp-git
|
||||
pkgver=13.20131124
|
||||
pkgver=13.20131126
|
||||
pkgrel=1
|
||||
pkgdesc="A software media player and entertainment hub for digital media for the Raspberry Pi"
|
||||
arch=('armv6h')
|
||||
|
@ -17,9 +17,7 @@ optdepends=(
|
|||
'lirc: remote controller support'
|
||||
'udisks: automount external drives'
|
||||
'upower: used to trigger suspend functionality'
|
||||
'unrar: access compressed files without unpacking them'
|
||||
'xorg-server: use systemd to start xbmc'
|
||||
'xf86-video-fbdev: use systemd to start xbmc')
|
||||
'unrar: access compressed files without unpacking them')
|
||||
|
||||
provides=("xbmc")
|
||||
conflicts=("xbmc")
|
||||
|
|
|
@ -4,6 +4,9 @@ post_install() {
|
|||
getent group xbmc > /dev/null || groupadd xbmc
|
||||
getent passwd xbmc > /dev/null || useradd -m -d /var/lib/xbmc -g xbmc xbmc
|
||||
usermod -a -G xbmc,audio,video,power,network,optical,storage,disk xbmc
|
||||
echo ""
|
||||
echo "If xbmc systemd service does not start, try adding a udev rule:"
|
||||
echo "echo 'SUBSYSTEM==\"vchiq\",GROUP=\"video\",MODE=\"0660\"' > /etc/udev/rules.d/10-vchiq-permissions.rules"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
|
|
|
@ -6,7 +6,7 @@ After = remote-fs.target
|
|||
User = xbmc
|
||||
Group = xbmc
|
||||
Type = simple
|
||||
ExecStart = /usr/bin/xinit /usr/bin/xbmc-standalone -- :0 -nolisten tcp
|
||||
ExecStart = /usr/bin/xbmc-standalone
|
||||
Restart = on-failure
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in a new issue