]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(FULL-SYSTEMD): when systemd-networkd is available, install it
authorJo Zzsi <jozzsicsataban@gmail.com>
Sun, 5 Jan 2025 22:42:38 +0000 (17:42 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Sun, 5 Jan 2025 22:56:52 +0000 (17:56 -0500)
test/TEST-41-FULL-SYSTEMD/test.sh

index 298433aed5e8b6355e56bfaca24b791468c9826f..e9db1a48381f5ca5402b945bf8f1648998b7b22e 100755 (executable)
@@ -67,6 +67,10 @@ test_setup() {
         dracut_modules="$dracut_modules dbus-broker systemd-hostnamed systemd-portabled systemd-timedated"
     fi
 
+    if [ -f /usr/lib/systemd/systemd-networkd ]; then
+        dracut_modules="$dracut_modules systemd-networkd"
+    fi
+
     if [ -f /usr/lib/systemd/systemd-battery-check ]; then
         dracut_modules="$dracut_modules systemd-battery-check"
     fi