mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
Compare commits
10 Commits
9.2.7
...
libreelec-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7280f307c4 | ||
|
|
4b7b3781d6 | ||
|
|
2282c381ee | ||
|
|
e4d6559bfd | ||
|
|
4a47e8f060 | ||
|
|
16921614dc | ||
|
|
9b4b7c7a75 | ||
|
|
fae592ce2a | ||
|
|
b3a1583e67 | ||
|
|
1e5e3e6427 |
@@ -1,7 +1,7 @@
|
|||||||
### Questions about LibreELEC?
|
### Questions about LibreELEC?
|
||||||
|
|
||||||
To get your questions answered, please ask in the LibreELEC [Forum], on IRC:
|
To get your questions answered, please ask in the LibreELEC [Forum], on IRC:
|
||||||
\#libreelec on freenode.net.
|
\#libreelec on Libera.Chat.
|
||||||
|
|
||||||
Do not open an issue.
|
Do not open an issue.
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ LibreELEC is a 'Just enough OS' Linux distribution for running the award-winning
|
|||||||
|
|
||||||
**Issues & Support**
|
**Issues & Support**
|
||||||
|
|
||||||
Please report issues via the [LibreELEC forum: Bug Reports](https://forum.libreelec.tv/forum-35.html). Please ask support questions in the [LibreELEC forum: Help & Support](https://forum.libreelec.tv/forum-3.html) or ask a member of project staff in the #libreelec IRC channel on Freenode.
|
Please report issues via the [LibreELEC forum: Bug Reports](https://forum.libreelec.tv/forum-35.html). Please ask support questions in the [LibreELEC forum: Help & Support](https://forum.libreelec.tv/forum-3.html) or ask a member of project staff in the #libreelec IRC channel on Libera.Chat.
|
||||||
|
|
||||||
**Donations**
|
**Donations**
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,11 @@ PKG_CONFIGURE_OPTS_TARGET="BASH_SHELL=/bin/sh \
|
|||||||
--enable-lock-elision \
|
--enable-lock-elision \
|
||||||
--disable-timezone-tools"
|
--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
|
# 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")
|
# 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"
|
PKG_CONFIGURE_OPTS_TARGET+=" --enable-obsolete-rpc"
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
From 61b3b546450ae0a70cb4a57fbb0e0fc47b331370 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Portisch <hugo.portisch@yahoo.de>
|
||||||
|
Date: Sat, 5 Jun 2021 19:41:25 +0200
|
||||||
|
Subject: [PATCH] tls: libwidevinecdm.so: since 4.10.2252.0 has TLS with
|
||||||
|
64-byte alignment Change the max_align to 64U instead 16 to make it possible
|
||||||
|
to use dlopen again. Tests by changing TLS_TCB_ALIGN directly showed up some
|
||||||
|
random crashes. Reverence: https://lkml.org/lkml/2020/7/3/754
|
||||||
|
|
||||||
|
---
|
||||||
|
elf/dl-tls.c | 5 +++++
|
||||||
|
1 file changed, 5 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/elf/dl-tls.c b/elf/dl-tls.c
|
||||||
|
index 9fa62f5d..d8f2f740 100644
|
||||||
|
--- a/elf/dl-tls.c
|
||||||
|
+++ b/elf/dl-tls.c
|
||||||
|
@@ -213,6 +213,11 @@ void
|
||||||
|
_dl_determine_tlsoffset (void)
|
||||||
|
{
|
||||||
|
size_t max_align = TLS_TCB_ALIGN;
|
||||||
|
+ /* libwidevinecdm.so: since 4.10.2252.0 has TLS with 64-byte alignment.
|
||||||
|
+ Since TLS is initialized before audit modules are loaded and slotinfo
|
||||||
|
+ information is available, this is not taken into account below in
|
||||||
|
+ the audit case. */
|
||||||
|
+ max_align = MAX (max_align, 64U);
|
||||||
|
size_t freetop = 0;
|
||||||
|
size_t freebottom = 0;
|
||||||
|
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
|
||||||
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
|
|
||||||
|
|
||||||
PKG_NAME="gperftools"
|
|
||||||
PKG_VERSION="2.9.1"
|
|
||||||
PKG_SHA256="ea566e528605befb830671e359118c2da718f721c27225cbbc93858c7520fee3"
|
|
||||||
PKG_LICENSE="BSD"
|
|
||||||
PKG_SITE="https://github.com/gperftools/gperftools"
|
|
||||||
PKG_URL="https://github.com/gperftools/gperftools/releases/download/gperftools-${PKG_VERSION}/gperftools-${PKG_VERSION}.tar.gz"
|
|
||||||
PKG_DEPENDS_TARGET="toolchain"
|
|
||||||
PKG_LONGDESC="Google Performance Tools"
|
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="--enable-minimal --disable-debugalloc --disable-static"
|
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="inputstream.adaptive"
|
PKG_NAME="inputstream.adaptive"
|
||||||
PKG_VERSION="2.4.7-Leia"
|
PKG_VERSION="2.4.8-Leia"
|
||||||
PKG_SHA256="07d4f89d64a88da8ec6682ad85da097e2ecb782c7ea622efd161c65a65d59e63"
|
PKG_SHA256="d9d051a481aa832bf0447f5500075eb5d4ae0181b21d6daf74547634b0c9eb15"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
|||||||
@@ -43,8 +43,9 @@ else #arm
|
|||||||
echo "MALLOC_MMAP_THRESHOLD_=8192" >> /run/libreelec/kodi.conf
|
echo "MALLOC_MMAP_THRESHOLD_=8192" >> /run/libreelec/kodi.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f /usr/lib/libtcmalloc_minimal.so ] ; then
|
# required for inputstreamhelper to detect TLS 64-bytes support
|
||||||
echo "LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so" >> /run/libreelec/kodi.conf
|
if [ -n "$(uname -m | grep arm)" ] || [ "$(uname -m)" == "aarch64" ]; then
|
||||||
|
echo "LIBC_WIDEVINE_PATCHLEVEL=1" >> /run/libreelec/kodi.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f /storage/.config/kodi.conf ] ; then
|
if [ -f /storage/.config/kodi.conf ] ; then
|
||||||
|
|||||||
@@ -13,6 +13,6 @@ PKG_SECTION="virtual"
|
|||||||
PKG_LONGDESC="Meta package for installing various tools and libs needed for libc"
|
PKG_LONGDESC="Meta package for installing various tools and libs needed for libc"
|
||||||
|
|
||||||
if [ "${TARGET_ARCH}" = "arm" ]; then
|
if [ "${TARGET_ARCH}" = "arm" ]; then
|
||||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET arm-mem gperftools"
|
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET arm-mem"
|
||||||
PKG_DEPENDS_INIT="$PKG_DEPENDS_INIT arm-mem:init"
|
PKG_DEPENDS_INIT="$PKG_DEPENDS_INIT arm-mem:init"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user