proot: Update and mount /vendor (#1055)
authormichalbednarski <michalbednarski@users.noreply.github.com>
Thu, 25 May 2017 20:15:42 +0000 (22:15 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 25 May 2017 20:15:42 +0000 (22:15 +0200)
* Update to fix emulated ptrace() on ARM thumb
* Mount /vendor (fixes termux/proot#2)

packages/proot/build.sh
packages/proot/termux-chroot

index 1675581..62b191f 100644 (file)
@@ -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"
 
index 9a84101..d9d73fc 100755 (executable)
@@ -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/.."