From: Jo Zzsi Date: Sun, 5 Jan 2025 22:42:38 +0000 (-0500) Subject: test(FULL-SYSTEMD): when systemd-networkd is available, install it X-Git-Tag: 106~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75f3a19;p=thirdparty%2Fdracut-ng.git test(FULL-SYSTEMD): when systemd-networkd is available, install it --- diff --git a/test/TEST-41-FULL-SYSTEMD/test.sh b/test/TEST-41-FULL-SYSTEMD/test.sh index 298433aed..e9db1a483 100755 --- a/test/TEST-41-FULL-SYSTEMD/test.sh +++ b/test/TEST-41-FULL-SYSTEMD/test.sh @@ -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