I'm having a bit of an issue when running emerge with --root, as users I don't want or need get created on my build host, but they are missing from the new 'root' system being built. My guess is that wrapping each command with something like this: eroot_wrapper() { if [[ -z ${EROOT} ]]; then "$@"; else chroot ${EROOT} "$@"; fi } might work...
*** This bug has been marked as a duplicate of bug 541406 ***