I have experienced a similar problem. I'm curious if others could share tail end of their build/binary.log file to see if there is a commonality here. My hunch (in my case) is the /usr/bin/env is looking for /root/openvpn.chroot rather than /chroot/root/openvpn.chroot.
Curious if others are seeing this same issue which might be preventing the ISO from being created.
Code:
# tail -20 binary.log
...
Setting up user-setup (1.48) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.12-kali1-amd64
cryptsetup: WARNING: could not determine root device from /etc/fstab
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.7-trunk-amd64/modules.dep.bin'
intel-microcode: cpuid MSR kernel support missing
intel-microcode: disabling IUCODE_TOOL_SCANCPUS option
live-boot: core filesystems devices utils memdisk udev wget blockdev ftpfs.
[2014-02-12 12:00:29] lb chroot_includes
P: Begin copying chroot includes...
22 blocks
[2014-02-12 12:00:29] lb chroot_hooks
P: Begin executing hooks...
/usr/bin/env: /root/openvpn.chroot: No such file or directory
E: config/hooks/openvpn.chroot failed (exit non-zero). You should check for errors.
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...
Reading state information...
Code:
Example of "chroot/root/openvpn.chroot"
#!/usr/bin/bash
update-rc.d openvpn enable
update-rc.d ssh enable
Code:
Example of config/hooks/openvpn.chroot
#!/usr/bin/bash
update-rc.d openvpn enable
update-rc.d ssh enable