From 0747f74d67de924015360dc11dafb608b3210558 Mon Sep 17 00:00:00 2001 From: Sai Hari Chandana Kalluri Date: Mon, 30 Jul 2018 17:37:12 -0700 Subject: xilinx-testimage.bbclass: Create xilinx testimage bbclass The testimage class from core does not support wic.qemu-sd as fstype hence incorrect arguments are passed when launching qemu instances with *.wic.qemu-sd as rootfs. This patch creates a custom testimage bbclass specific to xilinx to support wic.qemu-sd fstypes and ensure right arguments are passed. Signed-off-by: Sai Hari Chandana Kalluri Signed-off-by: Alejandro Enedino Hernandez Samaniego Signed-off-by: Manjukumar Matha --- meta-xilinx-bsp/classes/xilinx-testimage.bbclass | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meta-xilinx-bsp/classes/xilinx-testimage.bbclass diff --git a/meta-xilinx-bsp/classes/xilinx-testimage.bbclass b/meta-xilinx-bsp/classes/xilinx-testimage.bbclass new file mode 100644 index 00000000..d9086ec0 --- /dev/null +++ b/meta-xilinx-bsp/classes/xilinx-testimage.bbclass @@ -0,0 +1,9 @@ +inherit testimage + +HOSTTOOLS += 'ip ping ps scp ssh stty' + +python do_testimage_prepend () { + from oeqa.core.target.qemu import supported_fstypes + supported_fstypes.append('wic.qemu-sd') +} + -- cgit v1.2.3-54-g00ecf