[PATCH 2/5] Modify the way the libnss_files libraries are imported.
Brought to you by:
xystrus
From: Ben W. <bw...@ar...> - 2011-07-13 13:26:40
|
libnss1_files* seems to be a legacy thing. The files don't exist on modern Linux (RHEL5) boxes. Make the import of these files generic so that on older boxes libnss1 will still be imported but no errors will be spit out on newer ones. Signed-off-by: Ben Walton <bw...@ar...> --- mkchroot.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mkchroot.sh b/mkchroot.sh index ee98ed8..d2abae5 100755 --- a/mkchroot.sh +++ b/mkchroot.sh @@ -137,7 +137,7 @@ for prog in $scp_path $sftp_server_path $rssh_path $chroot_helper_path; do done echo "copying name service resolution libraries..." -tar -cf - /lib/libnss_files* /lib/libnss1_files* | tar -C "$jail_dir" -xvf - |sed 's/^/\t/' +tar -cf - /lib/libnss*_files* | tar -C "$jail_dir" -xvf - |sed 's/^/\t/' ##################################################################### # -- 1.7.4.1 |