|
|
@ -39,6 +39,12 @@ if [ -d /sbin ] && [ -d /root ]; then |
|
|
|
ARGS="$ARGS -b /sbin:/sbin -b /root:/root" |
|
|
|
fi |
|
|
|
|
|
|
|
# Android 10 needs /apex for /system/bin/linker: |
|
|
|
# https://github.com/termux/proot/issues/95#issuecomment-584779998 |
|
|
|
if [ -d /apex ]; then |
|
|
|
ARGS="$ARGS -b /apex:/apex" |
|
|
|
fi |
|
|
|
|
|
|
|
if [ -f /property_contexts ]; then |
|
|
|
# Used by getprop (see https://github.com/termux/termux-packages/issues/1076) |
|
|
|
# but does not exist on Android 8. |
|
|
|