Open knyipab opened 3 weeks ago
I think there is already a package to install an isolated termux environment in termux
which is termux-install
Thanks for your info. However, the termux-install
package has quite a number of limitations:
proot-distro
so cannot host multiple instancesStill, your info is very useful. That is a good starting point and I will build on that if Termux dev has no plan or think it not appropriate to include Termux rootfs in the proot-distro
.
Termux distro will be added eventually, but not before 5.x. It is not FHS-compliant and requires special handling.
Feature description
Would it be possible to add termux (bootstrap) as one of the supported distro in
proot-distro
?Perhaps the primary use case is for on device build. Given that running termux build script and a build failure can mess up the existing termux environment. Also, building large package can require a large number of deps packages and tracking those manually can be painful. It would be useful if a Termux inside Termux environment can be done.
Besides, with
qemu-user
orqemu
, proot-distro can manage a Termux rootfs in other architecture, probably useful for things likebox64
(a glibc package) orfex
(unlikely in Termux due toseccomp
). If I am not mistaken, Termux does not support multiarch like ubuntu. I am not sure about this use case as I did not play around withbox64
.Thanks for consideration.