]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(DMSQUASH): qemu module is not needed
authorJo Zzsi <jozzsicsataban@gmail.com>
Mon, 20 Jan 2025 04:34:37 +0000 (23:34 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Mon, 20 Jan 2025 06:45:27 +0000 (01:45 -0500)
Only include the main dracut module and make sure that dependencies
are properly managed.

test/TEST-30-DMSQUASH/test.sh

index 181aa55e353a0a1ade9359dc3280ee138533e73f..0a9175dfd608e2ba74c79f2a8fbcf14009f0ef6c 100755 (executable)
@@ -37,7 +37,7 @@ test_run() {
 
     test_marker_check || return 1
 
-    # Run the erofs test only if mkfs.ntfs is available
+    # Run the erofs test only if mkfs.erofs is available
     if [[ "$EROFS" ]]; then
         test_marker_reset
         "$testdir"/run-qemu \
@@ -158,8 +158,7 @@ EOF
 
     test_dracut \
         --no-hostonly \
-        --add "bash dmsquash-live-autooverlay qemu" \
-        --omit "systemd" \
+        --modules "dmsquash-live-autooverlay" \
         --drivers "ntfs3" \
         --install "mkfs.ext4" \
         --include /tmp/ntfs3.rules /lib/udev/rules.d/ntfs3.rules \