diff options
author | 2018-07-30 17:37:12 -0700 | |
---|---|---|
committer | 2019-01-01 20:03:46 -0800 | |
commit | 0747f74d67de924015360dc11dafb608b3210558 (patch) | |
tree | 69489b0dae6ab58b155a89ab0e460ea5867be458 | |
parent | 01afef0b8926c7df750f6944ec3c2c437735ee22 (diff) | |
download | meta-xilinx-0747f74d67de924015360dc11dafb608b3210558.tar.gz meta-xilinx-0747f74d67de924015360dc11dafb608b3210558.tar.bz2 meta-xilinx-0747f74d67de924015360dc11dafb608b3210558.zip |
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 <chandana.kalluri@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/classes/xilinx-testimage.bbclass | 9 |
1 files changed, 9 insertions, 0 deletions
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') +} + |