termux-tools: provide wrapper for /system/bin/mount
Right now Termux doesn't have utility 'mount' available. Also on Samsung devices executing /system/bin/mount can cause linking errors. Issue https://github.com/termux/termux-packages/issues/4002.
This commit is contained in:
parent
d82262aec4
commit
40db2641cf
@ -1,7 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://termux.com/
|
||||
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_VERSION=0.66
|
||||
TERMUX_PKG_VERSION=0.67
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
|
||||
TERMUX_PKG_ESSENTIAL=yes
|
||||
TERMUX_PKG_DEPENDS="termux-am"
|
||||
@ -12,7 +12,7 @@ termux_step_make_install() {
|
||||
mkdir -p $TERMUX_PREFIX/bin/applets
|
||||
# Remove LD_LIBRARY_PATH from environment to avoid conflicting
|
||||
# with system libraries that system binaries may link against:
|
||||
for tool in df getprop logcat ping ping6 ip pm settings top; do
|
||||
for tool in df getprop logcat mount ping ping6 ip pm settings top; do
|
||||
WRAPPER_FILE=$TERMUX_PREFIX/bin/$tool
|
||||
echo '#!/bin/sh' > $WRAPPER_FILE
|
||||
echo 'unset LD_LIBRARY_PATH LD_PRELOAD' >> $WRAPPER_FILE
|
||||
|
Loading…
Reference in New Issue
Block a user