You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 or qemu, proot-distro can manage a Termux rootfs in other architecture, probably useful for things like box64 (a glibc package) or fex (unlikely in Termux due to seccomp). 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 with box64.
Thanks for consideration.
The text was updated successfully, but these errors were encountered:
Thanks for your info. However, the termux-install package has quite a number of limitations:
Uses an outdated version of Termux bootstrap (2022 version)
No option to isolate $HOME, which can be important in testing new packages
No alias feature like proot-distro so cannot host multiple instances
No multarch or qemu support (i.e. can't run x86_64 rootfs on aarch64)
It's not official (on TUR) and no more updates since two years ago
Still, 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.
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.
The text was updated successfully, but these errors were encountered: