Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GNU/Linux user-land on top of Android
#11
I added the following to my .bashrc in termux to make getting into linux easier.

linux() {
su -c "/data/data/ru.meefik.linuxdeploy/bin/linuxdeploy shell -u gemini"
}

I also edited /data/data/ru.meefik.linuxdeploy/env/include/core/net/deploy.sh

### insert this bit
echo "cleanup symlink resolver"
test -L "${CHROOT_DIR}/etc/resolv.conf" && rm "${CHROOT_DIR}/etc/resolv.conf"
### before this line
printf '' > "${CHROOT_DIR}/etc/resolv.conf"
for dns in ${dns_list}
do
echo "nameserver ${dns}" >> "${CHROOT_DIR}/etc/resolv.conf"
done

which allows the system to update the resolv.conf so that it can use DNS
Reply


Messages In This Thread
GNU/Linux user-land on top of Android - by nafmo - 03-20-2018, 08:36 AM
RE: GNU/Linux user-land on top of Android - by Beiriannydd - 05-17-2018, 12:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)