Merge pull request #5460 from dtechsrv/libc-widevine-le10

[LE 10] add LIBC_WIDEVINE_PATCHLEVEL environment variable to kodi config
This commit is contained in:
CvH 2021-07-03 19:36:35 +02:00 committed by GitHub
commit 31963ca452
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,11 @@ else #arm
echo "MALLOC_MMAP_THRESHOLD_=8192" >> /run/libreelec/kodi.conf
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
cat /storage/.config/kodi.conf >>/run/libreelec/kodi.conf
fi