Skip to content

Commit c71865f

Browse files
added link to file and added install.sh for implanting
1 parent 9a3df55 commit c71865f

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

hippo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ get_download_url() {
2727

2828
case "$DISTRO_ARCH" in
2929
aarch64)
30-
rootfs=""
30+
rootfs="https://github.com/SaicharanKandukuri/ubuntu-on-android/releases/download/v0.1-arm64/ubuntu-21.04-test-base-arm64-root-one.tar.gz"
3131
sha256="a35d4fb115da45f866d0b41544f99587eba979dad584bf9c9982f6242cc002ed"
3232
;;
3333
esac

install.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env bash
2+
3+
####################################
4+
# A Script to implant hippo inside
5+
# proot-distro(for now!)
6+
# DISTRO_PLUGINS_DIR @TERMUX_PREFIX@/etc/proot-distro"
7+
8+
DISTRO_PLUGINS_DIR="/data/data/com.termux/file/usr/etc/proot-distro"
9+
10+
function _implant_()
11+
{
12+
if [ -r hippo.sh ]; then
13+
mv -v hippo.sh "${DISTRO_PLUGINS_DIR}"
14+
return 0
15+
else
16+
return 1
17+
fi
18+
}
19+
20+
if _implant_; then
21+
echo -e "Implant done......."
22+
proot-distro list | grep "hippo"
23+
fi

0 commit comments

Comments
 (0)