Can namespaces be used instead of chroot to make archiso build run unpriveledged?

Created by: igo95862

Currently archiso build requires root privileges because arch-mount uses chroot and chroot requires root.

Namespaces can provides similar functionality as chroot but run completely unprivileged.

I propose adding optional bwrap based backend instead of chroot. I can write the Pull Request if you approve of this.

This could also be a part of archiso instead of arch-chroot.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information