diff --git a/alarm/kodi-rpi/PKGBUILD b/alarm/kodi-rpi/PKGBUILD index fca6e30bd..fcb3abe04 100644 --- a/alarm/kodi-rpi/PKGBUILD +++ b/alarm/kodi-rpi/PKGBUILD @@ -101,6 +101,9 @@ prepare() { [[ -d kodi-build ]] && rm -rf kodi-build mkdir "$srcdir/kodi-build" cd "xbmc-$_commit" + + rm -rf system/certs # remove not needed cacert + patch -p1 -i ../0001-ffmpeg-update-for-official-5.1.4.patch # use flatbuffers 23.3.3 @@ -257,6 +260,10 @@ package_kodi-rpi() { # avoid error : GetDirectory - Error getting /usr/lib/kodi/addons # https://bugs.archlinux.org/task/77366 mkdir -p "$pkgdir"/usr/lib/kodi/addons + + # https://archlinux.org/todo/use-system-ca-store/ + mkdir -p "$pkgdir"/usr/share/kodi/system/certs + ln -s /etc/ssl/cert.pem "$pkgdir"/usr/share/kodi/system/certs/cacert.pem } package_kodi-rpi-eventclients() {