emerald buid scipt, local not in chroot