Commitf439b47ed"boot/grub2: add RISC-V 64bit EFI support" [1] introduced the grub2 RISC-V UEFI support. At that time, it was not possible to have a runtime test for this. qemu-system-riscv64 is not in the Buildroot Docker reference image, and the base distribution (Debian 11) does not provide a sufficiently recent version. A qemu-system-riscv64 >= 8.0.0 is needed. Commit0d4177598"support/testing/infra/emulator.py: add build host dir to qemu search path" [2] added the capability to use the Buildroot host-qemu package inside runtime test. With this support, it is now possible to add a runtime test for a grub2 UEFI boot on RISC-V 64bit. Also, due to an upstream edk2 git submodule issue, this commit includes a workaround to use https://sources.buildroot.net for this test. See [3]. [1] https://gitlab.com/buildroot.org/buildroot/-/commit/f439b47ed6e987306c7de6d9c3be11de04935377 [2] https://gitlab.com/buildroot.org/buildroot/-/commit/0d4177598ce7e73f2b97ac58c21fb177343643e3 [3] https://gitlab.com/buildroot.org/buildroot/-/commit/47fc9e5509837260310cd7e41335fade29b587b1 Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>