summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test-functions5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test-functions b/test/test-functions
index 42c954d565..34af32a798 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -241,7 +241,10 @@ install_debug_tools() {
install_libnss() {
# install libnss_files for login
- inst_libdir_file "libnss_files*"
+ 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
}
install_dbus() {