Browse Source

termux-build-chroot: cleanup script

build-on-device
Henrik Grimler 5 years ago
parent
commit
d6d028732c
  1. 9
      scripts/termux-build-chroot.sh

9
scripts/termux-build-chroot.sh

@ -29,18 +29,9 @@ termux-build-chroot() {
ARGS="$ARGS -b /$f:/$f"
done
# # Set $TERMUX_PKG_BUILDDIR as current directory:
# ARGS="$ARGS --cwd=$TERMUX_PKG_BUILDDIR"
# Root of the file system:
ARGS="$ARGS -r $(realpath $PREFIX/..)"
# Shell to execute:
PROGRAM=bash
if [ -x $HOME/.termux/shell ]; then
PROGRAM=`readlink -f $HOME/.termux/shell`
fi
export PATH=/bin:$PATH
export LD_LIBRARY_PATH=/lib
unset LD_PRELOAD

Loading…
Cancel
Save