From c940613c7ccf94e26c46b7f1185f305d7d75892a Mon Sep 17 00:00:00 2001 From: Laszlo Gombos Date: Fri, 28 Jul 2023 09:09:36 -0400 Subject: [PATCH] dracut: depend on net-lib module --- dracut/03flatcar-network/module-setup.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dracut/03flatcar-network/module-setup.sh b/dracut/03flatcar-network/module-setup.sh index 5649166..cd5d4cb 100755 --- a/dracut/03flatcar-network/module-setup.sh +++ b/dracut/03flatcar-network/module-setup.sh @@ -5,7 +5,7 @@ # called by dracut depends() { - echo systemd-networkd + echo net-lib systemd-networkd } # called by dracut @@ -42,10 +42,6 @@ install() { inst_simple "$moddir/zz-default.network" \ "$systemdutildir/network/zz-default.network" - # install net-lib.sh regardless of its parent module's status - inst_simple "$moddir/../40network/net-lib.sh" /lib/net-lib.sh || - dfatal 'Could not install net-lib.sh from the network module' - # add a hook to generate networkd configuration from ip= arguments inst_hook cmdline 99 "$moddir/parse-ip-for-networkd.sh"