using the config file as in etc/proot-distro, the proot-distro install will install it into the root / of the distro. but the distro use /data/gentoo64 as its root. and parameters for proot should use /data/gentoo64/usr/bin/env , and use "/data/gentoo64/bin/bash -l" instead of "/bin/su root" as there's no su command.
TARBALL_STRIP_OPT should be enhanced to suport string value of path like "/data", with the following logic:
Description
the gentoo prefix is for aarch64. and only use the config file will not work.
using the config file as in etc/proot-distro, the proot-distro install will install it into the root / of the distro. but the distro use /data/gentoo64 as its root. and parameters for proot should use /data/gentoo64/usr/bin/env , and use "/data/gentoo64/bin/bash -l" instead of "/bin/su root" as there's no su command.
TARBALL_STRIP_OPT should be enhanced to suport string value of path like "/data", with the following logic:
Home page URL
https://wiki.gentoo.org/wiki/Project:Android/tarball
Root file system archive URL
http://distfiles.gentoo.org/experimental/prefix/arm/prefix-stage3-arm64-latest.tar.xz