diff options
author | Marcelo Leitner <mrl@mandriva.com> | 2007-11-19 17:39:58 +0000 |
---|---|---|
committer | Marcelo Leitner <mrl@mandriva.com> | 2007-11-19 17:39:58 +0000 |
commit | 447fb785e4bb7db8768bc0fd28813818c3b14499 (patch) | |
tree | 51aa694313d8453afeb4258916ac32b13f1db214 /lib/Iurt | |
parent | a9d2f32c1e531cd466add17cec5adedc3b8b02ab (diff) | |
download | iurt-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')
-rw-r--r-- | lib/Iurt/Chroot.pm | 3 |
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 |