termux-packages/packages/proot
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
..
build.sh termux-chroot: Specify command to execute 2017-08-16 23:47:26 +02:00
termux-chroot termux-chroot: Specify command to execute 2017-08-16 23:47:26 +02:00