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

This commit is contained in:
graysky 2023-12-22 16:34:55 -05:00
parent f54fcc0e0b
commit 481d1a22d2

View file

@ -96,6 +96,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
@ -234,6 +237,10 @@ package_kodi-rpi-legacy() {
# avoid error <general>: 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-legacy-eventclients() {