Merge pull request #5455 from dtechsrv/libc-widevine-le92

[LE 9.2] add LIBC_WIDEVINE_PATCHLEVEL to kodi config and fix aarch64 patchload from arm
This commit is contained in:
CvH 2021-07-03 19:37:25 +02:00 committed by GitHub
commit 2282c381ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -35,6 +35,11 @@ PKG_CONFIGURE_OPTS_TARGET="BASH_SHELL=/bin/sh \
--enable-lock-elision \
--disable-timezone-tools"
# workaround to use arm patches for aarch64
if [ "${TARGET_PATCH_ARCH}" = "aarch64" ]; then
PKG_PATCH_DIRS="arm"
fi
# busybox:init needs it
# testcase: boot with /storage as nfs-share (set cmdline.txt -> "ip=dhcp boot=UUID=2407-5145 disk=NFS=[nfs-share] quiet")
PKG_CONFIGURE_OPTS_TARGET+=" --enable-obsolete-rpc"

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