7dcd979098
This commit adds four test cases for Grub: - Grub i386 legacy BIOS - Grub i386 UEFI - Grub x86-64 UEFI - Grub AArch64 UEFI There is some overlap with the ISO9660 filesystem test cases, some of which use Grub, but we found it relevant to have separate test cases for Grub, which were useful to test Grub in non-ISO9660 situations. The Grub ARM UEFI case is not tested, as it requires Grub to be chain-loaded by U-Boot. Implementing this test case is left as an exercise for the reader. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> [yann.morin.1998@free.fr: - use EDK2 to build the OVMF blurbs from source, instead of the binary blobs - add host-dosfstools ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
8 lines
205 B
Bash
Executable File
8 lines
205 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -d "$BINARIES_DIR/efi-part/" ]; then
|
|
sed -i 's%tty1%ttyS0,115200%' "$BINARIES_DIR/efi-part/EFI/BOOT/grub.cfg"
|
|
else
|
|
sed -i 's%tty1%ttyS0,115200%' "$TARGET_DIR/boot/grub/grub.cfg"
|
|
fi
|