From d6b52867f46a5816d28fe3967653a2d36339c6a4 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Sun, 30 Jun 2019 19:13:32 +0300 Subject: [PATCH] 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. --- packages/termux-tools/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/termux-tools/build.sh b/packages/termux-tools/build.sh index 1ba29f5d2..6986e629b 100644 --- a/packages/termux-tools/build.sh +++ b/packages/termux-tools/build.sh @@ -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