From 447fb785e4bb7db8768bc0fd28813818c3b14499 Mon Sep 17 00:00:00 2001 From: Marcelo Leitner Date: Mon, 19 Nov 2007 17:39:58 +0000 Subject: - Use the same /etc/nsswitch.conf, because as pixel reported, without that make test on perl fails due to glibc print outs screaming about YPBINDPROC_DOMAIN. --- lib/Iurt/Chroot.pm | 3 +++ 1 file changed, 3 insertions(+) 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/"); + # 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 -- cgit v1.2.1