diff --git a/packages/proot/build.sh b/packages/proot/build.sh index 71f6fb77b..21b564797 100644 --- a/packages/proot/build.sh +++ b/packages/proot/build.sh @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="GPL-2.0" # Just bump commit and version when needed: _COMMIT=1f4ec1c9d3fcc5d44c2a252eda6d09b0c24928cd TERMUX_PKG_VERSION=5.1.107 -TERMUX_PKG_REVISION=25 +TERMUX_PKG_REVISION=26 TERMUX_PKG_SRCURL=https://github.com/termux/proot/archive/${_COMMIT}.zip TERMUX_PKG_SHA256=1119f1d27ca7a655eb627ad227fbd9c7a0343ea988dad3ed620fd6cd98723c20 TERMUX_PKG_DEPENDS="libtalloc" diff --git a/packages/proot/termux-chroot b/packages/proot/termux-chroot index 95920e52f..33657317c 100755 --- a/packages/proot/termux-chroot +++ b/packages/proot/termux-chroot @@ -39,6 +39,12 @@ if [ -d /sbin ] && [ -d /root ]; then ARGS="$ARGS -b /sbin:/sbin -b /root:/root" fi +# Android 10 needs /apex for /system/bin/linker: +# https://github.com/termux/proot/issues/95#issuecomment-584779998 +if [ -d /apex ]; then + ARGS="$ARGS -b /apex:/apex" +fi + if [ -f /property_contexts ]; then # Used by getprop (see https://github.com/termux/termux-packages/issues/1076) # but does not exist on Android 8.