diff --git a/alarm/kodi-rpi/PKGBUILD b/alarm/kodi-rpi/PKGBUILD index a5ac13278..4207baa3e 100644 --- a/alarm/kodi-rpi/PKGBUILD +++ b/alarm/kodi-rpi/PKGBUILD @@ -32,7 +32,7 @@ makedepends=( 'libinput' 'libxkbcommon' ) _codename=Matrix -_init_version=1.129 +_init_version=1.130 _libdvdcss_version="1.4.2-Leia-Beta-5" _libdvdnav_version="6.0.0-Leia-Alpha-3" _libdvdread_version="6.0.0-Leia-Alpha-3" @@ -60,7 +60,7 @@ source=( use-mcpu-avoiding-march-and-mtune.patch 0001-mcpu-cortex-application-to-ffmpeg.patch ) -backup=(boot/kodi.config.txt) +backup=(boot/kodi.config.txt etc/conf.d/kodi-standalone) noextract=( "libdvdcss-$_libdvdcss_version.tar.gz" "libdvdnav-$_libdvdnav_version.tar.gz" @@ -204,6 +204,9 @@ package_kodi-rpi() { # fix permissions necessary for accelerated video playback install -Dm0644 "$_initshit/udev/99-kodi.rules" "$pkgdir/usr/lib/udev/rules.d/99-kodi.rules" + # environment vars + install -Dm644 "${_initshit/\/arm}"/common/kodi-standalone "$pkgdir/etc/conf.d/kodi-standalone" + # systemd manages kodi user install -Dm644 "$_initshit"/init/sysusers.conf "$pkgdir/usr/lib/sysusers.d/kodi.conf" install -Dm644 "$_initshit"/init/tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/kodi.conf"