Hacker News new | ask | show | jobs
by anthk 758 days ago
Bubblewrap will allow you to create a chroot for xbps. No root needed. If $HOME/void_chroot is a void rootfs:

https://docs.voidlinux.org/installation/guides/chroot.html#t...

       bwrap --bind $HOME/void_chroot/  /  --ro-bind /etc/resolv.conf /etc/resolv.conf  --rw-bind /home/ /home/  --proc /proc --dev /dev /bin/sh
Instead of xchroot, use bwrap.