From: Sai Hari Chandana Kalluri <[email protected]>

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 <[email protected]>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <[email protected]>
Signed-off-by: Manjukumar Matha <[email protected]>
---
 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
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to