]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(FULL-SYSTEMD): remove obsolete and incorrect check
authorJo Zzsi <jozzsicsataban@gmail.com>
Wed, 24 Sep 2025 14:38:05 +0000 (10:38 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Wed, 24 Sep 2025 21:43:29 +0000 (17:43 -0400)
00systemd-network-management has been renumbered and this
additional check is not really needed any more.

Remove it.

test/TEST-41-FULL-SYSTEMD/test.sh

index 82e124dd78ba2033946fce34c7ba9ae4c4955335..e3a5e55f33399f717ceb8079dc6b9c5c55aec7ab 100755 (executable)
@@ -73,7 +73,7 @@ test_setup() {
 
     local dracut_modules="resume systemd-udevd systemd-journald systemd-tmpfiles systemd-cryptsetup systemd-emergency systemd-ac-power systemd-coredump systemd-creds systemd-integritysetup systemd-ldconfig systemd-pstore systemd-repart systemd-sysext systemd-veritysetup systemd-hostnamed systemd-timedated"
 
-    if [ -f /usr/lib/systemd/systemd-networkd ] && [ -e "${PKGLIBDIR}/modules.d/00systemd-network-management/module-setup.sh" ]; then
+    if [ -f /usr/lib/systemd/systemd-networkd ]; then
         dracut_modules="$dracut_modules systemd-network-management"
     fi