test-functions:install_libnss() call dracut_install with all $NSS_LIBS

dracut_install() can cope with more than one file
This commit is contained in:
Harald Hoyer 2015-02-03 10:45:25 +01:00
parent 7d023341c7
commit 99877b7e37

View file

@ -244,9 +244,7 @@ install_debug_tools() {
install_libnss() {
# install libnss_files for login
NSS_LIBS=$(LD_DEBUG=files getent passwd 2>&1 >/dev/null |sed -n '/calling init: .*libnss_/ {s!^.* /!/!; p}')
for l in $NSS_LIBS; do
dracut_install $l
done
dracut_install $NSS_LIBS
}
install_dbus() {