aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Chroot.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Iurt/Chroot.pm')
-rw-r--r--lib/Iurt/Chroot.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index 53649ac..2e6c024 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -523,6 +523,9 @@ sub build_chroot {
# name are not resolved via DNS but via /etc/hosts
sudo($run, $config, '--cp', "/etc/hosts", "$tmp_chroot/etc/");
sudo($run, $config, '--cp', "/etc/resolv.conf", "$tmp_chroot/etc/");
+ # <mrl> As pixel reported, without this make test on perl package fails due
+ # glibc print outs screaming about "YPBINDPROC_DOMAIN".
+ sudo($run, $config, '--cp', "/etc/nsswitch.conf", "$tmp_chroot/etc/");
sudo($run, $config, "--initdb", $tmp_chroot);
# install chroot