mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
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:
commit
2282c381ee
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user