copy hosts resolv.conf into chroot

to enable dns resolution in chroot

Signed-off-by: Manuel Traut <manut@linutronix.de>
leave_chroot: always remove generated resolv.conf

Signed-off-by: Manuel Traut <manut@linutronix.de>