Commit Graph

32 Commits

Author SHA1 Message Date
Fredrik Fornwall 0c83303771 proot: Bump revision after patch 2018-06-24 12:05:25 +02:00
Vijay Vaidyanathan 4265175009 Changed shells were not being recognized
The check for a changed shell (e.g. by chsh) was correctly using $HOME/.termux/shell, but $HOME was being hardcoded to "/home" prior to the check.

Since most likely, $HOME is not yet "/home" (since the user is invoking termux-chroot) this test was failing to recognize changed shells (e.g. this failed with zsh).

Moving the assignment of HOME to /home after the shell has been read fixes this.
2018-06-24 12:00:00 +02:00
Michał Bednarski 11f9c73292 proot: Update to skip link2symlink rmdir handling
Fixes termux/termux-packages#2307 (aka. termux/proot#18)
2018-06-04 00:43:44 +02:00
michalbednarski c88826236f proot: Update with fix for chroot(".") (#2464)
Update with fix by @Hax4us at termux/proot#17
2018-05-29 10:31:14 +02:00
Michał Bednarski 8cfea9198f proot: Update with fix for termux/proot#14 2018-05-14 00:57:33 +02:00
Michał Bednarski 883552be67 proot: Update to fix running debuggers inside proot 2018-04-30 00:02:49 +02:00
michalbednarski 9f0eb75dfb proot: Update for Linux >= 4.8 (#2374) 2018-04-26 21:37:19 +02:00
michalbednarski 2b65c759fa proot: Update for accept and MagiskSU support (#2235)
* Added arguments for proot to enable the use of MagiskSU from within termux-chroot.

* Restore original shebang to termux-chroot for pull-request.

* Added folder existence check to ensure MagiskSU changes don't break termux-chroot on later versions of Android, just in case.

* proot: Update for accept -> accept4 translation
2018-03-10 22:35:53 +01:00
Buck Evan 2e7375e50e Correct homepage for proot.
http://proot.me/ points to a random Japanese blog.
2018-02-25 23:22:14 +01:00
michalbednarski 71ff728d08 proot: Update package (#2156)
* Consider EACCES as permission denied in fake_id0 (instead of just EPERM)
* Add warning about termux-exec if first process fails to start
2018-02-17 00:17:17 +01:00
Michał Bednarski 8ee2451377 proot: Upgrade to skip syscalls blocked by seccomp
termux/proot#5

Also includes fix termux/termux-packages#1679
2017-11-26 21:24:15 +01:00
Fredrik Fornwall 8937106f35 proot: Bump build revision after change 2017-11-22 16:45:14 +01:00
Fredrik Fornwall ddd429197e proot: Only bind /property_contexts if file exists
Fixes the following warning when running termux-chroot on Android 8:

proot warning: can't sanitize binding "/property_contexts":
No such file or directory
2017-11-21 05:13:54 +01:00
Fredrik Fornwall 51c7760090 Drop need of setting TERMUX_PKG_FOLDERNAME
Instead figure out the top level source folder ourselves.
2017-09-20 00:48:04 +02:00
Michał Bednarski 5b63af27b5 proot: Update to fix vfork-execve brk handling 2017-08-28 18:41:48 +02:00
Oliver Schmidhauser 8ceb581ba6 termux-chroot: Specify command to execute
Allow a command to be specified when running termux-chroot.
Example:
```
$ termux-chroot ls /
bin  data  dev  etc  home  lib  proc  property_contexts  share  storage  system  tmp  usr  var  vendor
```
This makes it possible to run scripts that include a part that needs to
be run in a chrooted environment, like a compile script.
```
./configure
make
termux-chroot make install
```

Previously it had to be done like this:
```
./configure
make
termux-chroot
cd program
make install
exit
```
2017-08-16 23:47:26 +02:00
Fredrik Fornwall fe345c004c proot: Fix building with unified headers 2017-06-28 14:03:20 +02:00
michalbednarski 1bc0e39efc proot: Update to include --kill-on-exit support (#1106) 2017-06-25 19:04:17 +02:00
Fredrik Fornwall 47f33ba3f5 proot: Bump revision after termux-chroot change 2017-06-13 16:32:49 +02:00
Fredrik Fornwall 755cc3022e proot: /data & /property_contexts in termux-chroot (#1081)
Fixes #1076.
2017-06-13 16:21:56 +02:00
michalbednarski fd52da0d94 proot: Update and mount /vendor (#1055)
* Update to fix emulated ptrace() on ARM thumb
* Mount /vendor (fixes termux/proot#2)
2017-05-25 22:15:42 +02:00
michalbednarski 0db7ed34cc proot: Upgrade to fix #898 (#915)
Also revert to thumb mode as termux/proot#1 is fixed
2017-04-10 21:51:10 +02:00
Fredrik Fornwall 28c436bb8a proot: Build without -mthumb as it causes segfault
Fixes #761.
2017-02-09 22:18:34 +01:00
Fredrik Fornwall 9ddb35b2cb Add some source checksums 2017-02-08 00:12:36 +01:00
Oliver Schmidhauser 596a5857dc Update proot to the latest version (#751)
More information about what's been done here:
https://plus.google.com/+OliverSchmidhauser/posts/FVqBDPdNzUd
2017-02-08 00:01:11 +01:00
Fredrik Fornwall 7ce5638519 Cleanup of more packages 2016-09-03 18:45:08 -04:00
Fredrik Fornwall 4790864684 proot: Bump to latest commit (with link2symlink) 2016-08-30 07:50:34 -04:00
Fredrik Fornwall 115be236c3 proot: Build from https://github.com/termux/proot 2016-08-21 09:17:06 -04:00
Fredrik Fornwall 42aaa8bfaf Bump proot build revision for package update 2016-08-21 08:57:07 -04:00
michalbednarski 22e490e751 proot: Work around inability to use change syscall (#390)
* proot: Work around inability to use change syscall

* Use -1 as SYSCALL_AVOIDER on aarch64
2016-08-21 13:34:49 +02:00
Fredrik Fornwall c491cc4966 proot: Expose /storage in termux-chroot 2016-03-27 18:10:22 -04:00
Fredrik Fornwall 01176e2d8f Enable the proot package 2016-03-21 21:42:20 -04:00