The setup-chroot.sh script is very handy for building the server in a chroot environment. I thought I would share it here in case anyone else finds it useful.