kodi-config: add LIBC_WIDEVINE_PATCHLEVEL for arm*/aarch64

This commit is contained in:
Gábor Deé 2021-06-29 10:57:43 +02:00 committed by dtechsrv
parent 16921614dc
commit 4a47e8f060

View File

@ -43,6 +43,11 @@ else #arm
echo "MALLOC_MMAP_THRESHOLD_=8192" >> /run/libreelec/kodi.conf echo "MALLOC_MMAP_THRESHOLD_=8192" >> /run/libreelec/kodi.conf
fi fi
# required for inputstreamhelper to detect TLS 64-bytes support
if [ -n "$(uname -m | grep arm)" ] || [ "$(uname -m)" == "aarch64" ]; then
echo "LIBC_WIDEVINE_PATCHLEVEL=1" >> /run/libreelec/kodi.conf
fi
if [ -f /storage/.config/kodi.conf ] ; then if [ -f /storage/.config/kodi.conf ] ; then
cat /storage/.config/kodi.conf >>/run/libreelec/kodi.conf cat /storage/.config/kodi.conf >>/run/libreelec/kodi.conf
fi fi