alarm/kodi-rpi: use ca-certificates-utils file

This commit is contained in:
graysky 2023-12-22 16:34:16 -05:00
parent 901e5465b4
commit f54fcc0e0b

View file

@ -101,6 +101,9 @@ prepare() {
[[ -d kodi-build ]] && rm -rf kodi-build [[ -d kodi-build ]] && rm -rf kodi-build
mkdir "$srcdir/kodi-build" mkdir "$srcdir/kodi-build"
cd "xbmc-$_commit" cd "xbmc-$_commit"
rm -rf system/certs # remove not needed cacert
patch -p1 -i ../0001-ffmpeg-update-for-official-5.1.4.patch patch -p1 -i ../0001-ffmpeg-update-for-official-5.1.4.patch
# use flatbuffers 23.3.3 # use flatbuffers 23.3.3
@ -257,6 +260,10 @@ package_kodi-rpi() {
# avoid error <general>: GetDirectory - Error getting /usr/lib/kodi/addons # avoid error <general>: GetDirectory - Error getting /usr/lib/kodi/addons
# https://bugs.archlinux.org/task/77366 # https://bugs.archlinux.org/task/77366
mkdir -p "$pkgdir"/usr/lib/kodi/addons 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() { package_kodi-rpi-eventclients() {