~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sed: Note that it doesn't build with clang
[termux-packages]
/
packages
/
proot
/
termux-chroot
diff --git
a/packages/proot/termux-chroot
b/packages/proot/termux-chroot
index
5dde068
..
9a84101
100755
(executable)
--- a/
packages/proot/termux-chroot
+++ b/
packages/proot/termux-chroot
@@
-15,6
+15,11
@@
ARGS="-b /system:/system"
# to find e.g. configurations files there work.
ARGS="$ARGS -b $PREFIX/..:$PREFIX/.."
# to find e.g. configurations files there work.
ARGS="$ARGS -b $PREFIX/..:$PREFIX/.."
+# Expose external and internal storage:
+if [ -d /storage ]; then
+ ARGS="$ARGS -b /storage:/storage"
+fi
+
# Mimic traditional Linux file system hierarchy - /usr:
ARGS="$ARGS -b $PREFIX:/usr"
# Mimic traditional Linux file system hierarchy - /usr:
ARGS="$ARGS -b $PREFIX:/usr"