From: Sai Hari Chandana Kalluri <chandana.kall...@xilinx.com>

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 <chandana.kall...@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <aleja...@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-ma...@xilinx.com>
---
 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 0000000..d9086ec
--- /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')
+}
+
-- 
2.7.4

-- 
_______________________________________________
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to