Prepare a directory to be 'chroot'ed.