diff --git a/packages/proot/build.sh b/packages/proot/build.sh index 167558156..62b191f3d 100644 --- a/packages/proot/build.sh +++ b/packages/proot/build.sh @@ -1,10 +1,10 @@ TERMUX_PKG_HOMEPAGE=http://proot.me/ TERMUX_PKG_DESCRIPTION="Emulate chroot, bind mount and binfmt_misc for non-root users" # Just bump commit and version when needed: -_COMMIT=edc869d60c7f5b6abf67052a327ef099aded7777 -TERMUX_PKG_VERSION=5.1.104 +_COMMIT=58d216143b81558d71bcb29686cfa9ab1bfe3f4b +TERMUX_PKG_VERSION=5.1.105 TERMUX_PKG_SRCURL=https://github.com/termux/proot/archive/${_COMMIT}.zip -TERMUX_PKG_SHA256=3b1a579a108c17e897ef8da02ed7af8d77000c5d9946ed72f113f87ce61f5637 +TERMUX_PKG_SHA256=a2e33023d32d1a107be66d95b7411f98e19b2ddb3f440947cf220244d453918e TERMUX_PKG_FOLDERNAME=proot-$_COMMIT TERMUX_PKG_DEPENDS="libtalloc" diff --git a/packages/proot/termux-chroot b/packages/proot/termux-chroot index 9a84101d3..d9d73fcf8 100755 --- a/packages/proot/termux-chroot +++ b/packages/proot/termux-chroot @@ -11,6 +11,10 @@ fi # For the /system/bin/linker(64) to be found: ARGS="-b /system:/system" +# On some devices /vendor is required for termux packages to work correctly +# See https://github.com/termux/proot/issues/2#issuecomment-303995382 +ARGS="$ARGS -b /vendor:/vendor" + # Bind $PREFIX so Termux programs expecting # to find e.g. configurations files there work. ARGS="$ARGS -b $PREFIX/..:$PREFIX/.."