]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(UEFI): second initrd would just overwrite the first
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Sat, 27 Jul 2024 04:58:02 +0000 (00:58 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sat, 27 Jul 2024 12:28:41 +0000 (08:28 -0400)
Now that we have hostonly and no-hostonly CI containers, no need
to run the same test twice in the same container.

Also, the current approach did not actually work as the second
initrd would just overwrite the first one without testing the boot.

test/TEST-18-UEFI/test.sh

index 7e75590bee02b73732105b7fc477f80c2e0c3703..7092797e2eaddec92c8a002f362ca7f8e3bd1943 100755 (executable)
@@ -44,15 +44,6 @@ test_setup() {
     mkdir -p "$TESTDIR"/ESP/EFI/BOOT
 
     test_dracut \
-        --add 'rootfs-block' \
-        --kernel-cmdline 'root=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_root ro rd.skipfsck rootfstype=squashfs' \
-        --drivers 'squashfs' \
-        --uefi \
-        "$TESTDIR"/ESP/EFI/BOOT/BOOTX64.efi
-
-    test_dracut \
-        --hostonly \
-        --add 'rootfs-block' \
         --kernel-cmdline 'root=/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_root ro rd.skipfsck rootfstype=squashfs' \
         --drivers 'squashfs' \
         --uefi \