diff --git a/packages/busybox/build.sh b/packages/busybox/build.sh index a9f4cb685..fbd05451d 100644 --- a/packages/busybox/build.sh +++ b/packages/busybox/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Tiny versions of many common UNIX utilities into a singl TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_ESSENTIAL=yes TERMUX_PKG_VERSION=1.30.1 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SHA256=3d1d04a4dbd34048f4794815a5c48ebb9eb53c5277e09ffffc060323b95dfbdc TERMUX_PKG_SRCURL=https://busybox.net/downloads/busybox-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_BUILD_IN_SRC=yes diff --git a/packages/busybox/util-linux-setarch.c.patch b/packages/busybox/util-linux-setarch.c.patch new file mode 100644 index 000000000..5db8dbc9d --- /dev/null +++ b/packages/busybox/util-linux-setarch.c.patch @@ -0,0 +1,12 @@ +diff -uNr busybox-1.30.1/util-linux/setarch.c busybox-1.30.1.mod/util-linux/setarch.c +--- busybox-1.30.1/util-linux/setarch.c 2018-12-30 17:14:20.000000000 +0200 ++++ busybox-1.30.1.mod/util-linux/setarch.c 2019-03-02 14:06:38.150442254 +0200 +@@ -98,7 +98,7 @@ + + argv += optind; + if (!argv[0]) +- (--argv)[0] = (char*)"/bin/sh"; ++ (--argv)[0] = (char*)"@TERMUX_PREFIX@/bin/sh"; + + /* Try to execute the program */ + BB_EXECVP_or_die(argv);