Open vgavro opened 3 years ago
related to https://github.com/cswl/tsu/issues/72
Besides adding support for aosp su binaries - there are plenty fixes I found which I had to fix, sorry for this LARGE pull request... I hope it could be merged to upstream anyway...
./scripts/adb-termux
; it will be good if ./scripts/adb-termux-helper
will be included in termux "tsu" package.. @Grimler91-a
option is just unnecessary - it's set by default anyway (if prepend was not requested)/vendor/bin
to extra syspathTODO/NOTES:
~/.termux/tsu/.tmp
should be prepended with .
su -c PATH=x env VARIABLE=y CMD
- like I understand - made for cases when we need to find "env" binary? This fails on my aosp su with error PATH=x executable not found
(so I changed it only for aosp) - but I guess PATH=x should be moved after env for other su versions.My proposition - to release next major version (9.0) and rename .suroot
to .tsu
.
Thanks for you time!
AOSP "su" version never had "-c" flag option, like I see from sources. I tried not to break compatibility with previous tsu version, while trying to determine AOSP su by
--help
, or (in case for older android versions) you may explicitly set it likeSU_AOSP=1 sudo id