scripts({run-docker,setup-ubuntu}): let CI launch android binaries

This commit is contained in:
Twaik Yont 2023-11-14 16:24:12 +02:00
parent 50a6316398
commit d24bbf1f04
2 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ $SUDO docker start $CONTAINER_NAME >/dev/null 2>&1 || {
$SEC_OPT \
--tty \
$TERMUX_BUILDER_IMAGE_NAME
$SUDO docker exec $DOCKER_TTY $CONTAINER_NAME sudo ln -s /data/data/com.termux/files/usr/opt/bionic-host /system
if [ "$UNAME" != Darwin ]; then
if [ $(id -u) -ne 1001 -a $(id -u) -ne 0 ]; then
echo "Changed builder uid/gid... (this may take a while)"

View File

@ -332,3 +332,4 @@ echo -e 'LANG="en_US.UTF-8"\nLANGUAGE="en_US:en"\n' | $SUDO tee -a /etc/default/
. $(dirname "$(realpath "$0")")/properties.sh
$SUDO mkdir -p $TERMUX_PREFIX
$SUDO chown -R $(whoami) /data
$SUDO ln -s /data/data/com.termux/files/usr/opt/bionic-host /system