]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(systemd-networkd): depend on net-lib
authorJo Zzsi <jozzsicsataban@gmail.com>
Wed, 30 Oct 2024 23:43:58 +0000 (19:43 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Thu, 31 Oct 2024 16:20:34 +0000 (12:20 -0400)
modules.d/01systemd-networkd/module-setup.sh
modules.d/40network/module-setup.sh

index 23a6ecbeb8d6989960aa32d7fd616e49288e0eb0..e41d06462b45ee45fccb31edf97b9af7c94624b0 100755 (executable)
@@ -22,7 +22,7 @@ check() {
 depends() {
 
     # This module has external dependency on other module(s).
-    echo kernel-network-modules systemd-sysusers systemd
+    echo net-lib kernel-network-modules systemd-sysusers systemd
     # Return 0 to include the dependent module(s) in the initramfs.
     return 0
 
index 65c1b660539c80fc3ff81841740053701dd4a82c..38b7856926d4a618314589a311c47a590b21131b 100755 (executable)
@@ -7,8 +7,6 @@ check() {
 
 # called by dracut
 depends() {
-    echo -n "net-lib kernel-network-modules "
-
     is_qemu_virtualized && echo -n "qemu-net "
 
     for module in network-manager systemd-networkd connman network-legacy; do