From: Harald Hoyer Date: Fri, 16 Apr 2010 14:59:53 +0000 (+0200) Subject: test/TEST-50-MULTINIC: install all nfsidmap libs for server X-Git-Tag: 006~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5ef4b63a30e8473fc3d5b806e033ef6e989143e;p=thirdparty%2Fdracut.git test/TEST-50-MULTINIC: install all nfsidmap libs for server --- diff --git a/test/TEST-50-MULTINIC/test.sh b/test/TEST-50-MULTINIC/test.sh index 1e6cdabcc..b995902d1 100755 --- a/test/TEST-50-MULTINIC/test.sh +++ b/test/TEST-50-MULTINIC/test.sh @@ -148,7 +148,16 @@ test_setup() { fi dracut_install $(ls {/usr,}$LIBDIR/libnfsidmap*.so* 2>/dev/null ) + dracut_install $(ls {/usr,}$LIBDIR/libnfsidmap/*.so 2>/dev/null ) dracut_install $(ls {/usr,}$LIBDIR/libnss*.so 2>/dev/null) + + + nsslibs=$(sed -e '/^#/d' -e 's/^.*://' -e 's/\[NOTFOUND=return\]//' /etc/nsswitch.conf \ + | tr -s '[:space:]' '\n' | sort -u | tr -s '[:space:]' '|') + nsslibs=${nsslibs#|} + nsslibs=${nsslibs%|} + + dracut_install $(for i in $(ls {/usr,}$LIBDIR/libnss*.so 2>/dev/null); do echo $i;done | egrep "$nsslibs") ( cd "$initdir"; mkdir -p dev sys proc etc var/run tmp var/lib/{dhcpd,rpcbind}