From: Antonio Alvarez Feijoo Date: Thu, 18 Dec 2025 14:41:16 +0000 (+0100) Subject: test(SYSTEMD): run with --no-hostonly-cmdline X-Git-Tag: 110~215 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f46ef766017128e360a55c29b90e4233ca45b1;p=thirdparty%2Fdracut-ng.git test(SYSTEMD): run with --no-hostonly-cmdline This test aims to run without the `initqueue` module, but the `base` module depends on it if `$hostonly_cmdline == "yes"` [1]. Although the test ends successfully, the log shows some errors because `dracut-lib.sh` is not present if the `base` module cannot be installed: ``` dracut[E]: Module 'base' depends on module 'initqueue', which can't be installed ... /usr/bin/dracut-cmdline-ask: line 3: /lib/dracut-lib.sh: No such file or directory [ 2.108191] dracut-cmdline[254]: /usr/bin/dracut-cmdline: line 6: /lib/dracut-lib.sh: No such file or directory [ 2.129548] dracut-pre-udev[259]: /usr/bin/dracut-pre-udev: line 6: /lib/dracut-lib.sh: No such file or directory ... [ 3.176822] dracut-pre-pivot[368]: /usr/bin/dracut-pre-pivot: line 7: /lib/dracut-lib.sh: No such file or directory ... All OK ``` [1] https://github.com/dracut-ng/dracut-ng/blob/bf29f4b79aee9771800dffe78857014970be117e/modules.d/80base/module-setup.sh#L8-L12 --- diff --git a/test/TEST-40-SYSTEMD/test.sh b/test/TEST-40-SYSTEMD/test.sh index 8bf045bd6..3421632ff 100755 --- a/test/TEST-40-SYSTEMD/test.sh +++ b/test/TEST-40-SYSTEMD/test.sh @@ -61,6 +61,7 @@ test_setup() { #make sure --omit-drivers does not filter out drivers using regexp to test for an earlier regression (assuming there is no one letter linux kernel module needed to run the test) test_dracut \ + --no-hostonly-cmdline \ --omit "fido2 initqueue" \ --omit-drivers 'a b c d e f g h i j k l m n o p q r s t u v w x y z' \ -I systemd-analyze \