]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(systemd): include all nss libraries
authorJóhann B. Guðmundsson <johannbg@gmail.com>
Sat, 1 May 2021 07:58:51 +0000 (07:58 +0000)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 3 May 2021 08:16:22 +0000 (10:16 +0200)
Include all nss libraries so other modules dont have to.

modules.d/00systemd/module-setup.sh

index ff1981332d3783a0b09a5ae9ad30fc5bad3fb832..0a61d430fe14cf07a075474256aea661136f92e4 100755 (executable)
@@ -245,4 +245,10 @@ install() {
     } >> "$initdir/etc/systemd/journald.conf"
 
     $SYSTEMCTL -q --root "$initdir" set-default multi-user.target
+
+    # Install library file(s)
+    _arch=${DRACUT_ARCH:-$(uname -m)}
+    inst_libdir_file \
+        {"tls/$_arch/",tls/,"$_arch/",}"libnss_*"
+
 }