From 4f7fbda058e678e17e772ed09deb2026e4cf70eb Mon Sep 17 00:00:00 2001 From: freesource Date: Wed, 28 Nov 2001 20:38:12 +0000 Subject: [PATCH] Fixes a bug where libc was being tested in the mount directory rather than /lib, and undefs %pam_repeats. This allows multiple invocations to work properly. --- BootRoot/Yard.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BootRoot/Yard.pm b/BootRoot/Yard.pm index 239e4de..488f0e7 100644 --- a/BootRoot/Yard.pm +++ b/BootRoot/Yard.pm @@ -179,6 +179,7 @@ sub read_contents_file { undef %strippable; undef %lib_needed_by; undef @Libs; + undef %pam_repeats; } $contents_file_tmp = $contents_file; @@ -2891,7 +2892,7 @@ sub find_nss { my($nss_conf) = @_; my @nss_libs; - my($libc) = yard_glob("$mount_point/lib/libc-*"); ## removed 2 + my($libc) = yard_glob("/lib/libc-*"); ## removed 2 my($libc_version) = $libc =~ m|/lib/libc-\d+\.(\d)|; ## changed 2 & . if (!defined($libc_version)) { info(0,"\nParsing $nss_conf:\n");