aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Chroot.pm
diff options
context:
space:
mode:
authorMarcelo Leitner <mrl@mandriva.com>2007-11-19 17:39:58 +0000
committerMarcelo Leitner <mrl@mandriva.com>2007-11-19 17:39:58 +0000
commit447fb785e4bb7db8768bc0fd28813818c3b14499 (patch)
tree51aa694313d8453afeb4258916ac32b13f1db214 /lib/Iurt/Chroot.pm
parenta9d2f32c1e531cd466add17cec5adedc3b8b02ab (diff)
downloadiurt-447fb785e4bb7db8768bc0fd28813818c3b14499.tar
iurt-447fb785e4bb7db8768bc0fd28813818c3b14499.tar.gz
iurt-447fb785e4bb7db8768bc0fd28813818c3b14499.tar.bz2
iurt-447fb785e4bb7db8768bc0fd28813818c3b14499.tar.xz
iurt-447fb785e4bb7db8768bc0fd28813818c3b14499.zip
- 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.
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