Details
-
Improvement
-
Resolution: Fixed
-
Normal
-
None
-
None
Description
For ffs and other projects, it's useful to use fchroot even when chrooting into a non-foreign architecture, just so we can have the script/tool use the same fchroot command for both native and non-native arches.
Therefore, it would be really cool if fchroot could detect when it's looking at a native architecture, and then bypass the qemu wrapper enablement but otherwise perform the same chrooting steps. This would allow chrooting into x86-64bit ffs on x86-64bit ffs, for example.
It would also allow fchroot to be used for simplified funtoo installs (since fchroot takes care of bind mounts and copying over /etc/resolv.conf.)