alarm/xbmc-rbp-git update .service and .install

This commit is contained in:
moonman 2013-11-26 02:41:13 -07:00
parent b01ba5999d
commit 74674db01a
3 changed files with 6 additions and 5 deletions

View file

@ -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")

View file

@ -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() {

View file

@ -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]