]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci: only force include qemu dracut module in the tested initramfs
authorJo Zzsi <jozzsicsataban@gmail.com>
Sat, 6 Sep 2025 18:58:34 +0000 (14:58 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Sun, 7 Sep 2025 03:00:17 +0000 (23:00 -0400)
Test dracut's module detection capabilities and do not force
additional dracut modules to increase code coverage.

dracut.conf.d/test/test.conf
test/TEST-40-SYSTEMD/test.sh

index 0372ab2578b894785223163f92a705fdf4045873..db5cdfd9c18dcdf1897e485abbf9aca687ebb1fe 100644 (file)
@@ -1,4 +1,4 @@
-add_dracutmodules+=" base debug qemu kernel-modules "
+add_dracutmodules+=" qemu "
 
 # test the dlopen dependencies support
 add_dlopen_features+=" libsystemd-shared-*.so:fido2 "
index 5419fc864b0401d523ab1dff346adc4ff5a2031c..f53e1dfc8d46ab1eea41ae5496ed42520e37895f 100755 (executable)
@@ -63,6 +63,7 @@ test_setup() {
     test_dracut \
         --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 \
         -i ./systemd-analyze.sh /lib/dracut/hooks/pre-pivot/00-systemd-analyze.sh \
         -i "/bin/true" "/usr/bin/man"