make getproot function it's own shell script; getchroot to only get chroots

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
fix: copy resolv.conf for initial download & extract as well

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>