]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(systemd-resolved): remove nss libraries
authorJóhann B. Guðmundsson <johannbg@gmail.com>
Sat, 1 May 2021 07:55:28 +0000 (07:55 +0000)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 3 May 2021 08:16:48 +0000 (10:16 +0200)
Removing inclution of nss libraries since they are part of
the systemd module now.

modules.d/01systemd-resolved/module-setup.sh

index 044164b3603b5e291904b0062e2a42983b8cb06c..a1d56d9192000be1de762ce91efdcb2a0b95d656 100755 (executable)
@@ -45,14 +45,6 @@ install() {
     # Enable systemd type unit(s)
     $SYSTEMCTL -q --root "$initdir" enable systemd-resolved.service
 
-    # Install library file(s)
-    _arch=${DRACUT_ARCH:-$(uname -m)}
-    inst_libdir_file \
-        {"tls/$_arch/",tls/,"$_arch/",}"libnss_dns.so.*" \
-        {"tls/$_arch/",tls/,"$_arch/",}"libnss_mdns4_minimal.so.*" \
-        {"tls/$_arch/",tls/,"$_arch/",}"libnss_myhostname.so.*" \
-        {"tls/$_arch/",tls/,"$_arch/",}"libnss_resolve.so.*"
-
     # Install the hosts local user configurations if enabled.
     if [[ $hostonly ]]; then
         inst_multiple -H -o \