[meta-xilinx] [meta-xilinx-bsp][PATCH] xilinx-testimage.bbclass: Include IMAGE_AUTOLOGIN and IMAGE_FSTYPES values for runqemu

Manjukumar Matha manjukumar.harthikote-matha at xilinx.com
Fri Jun 28 15:34:47 PDT 2019


From: Sai Hari Chandana Kalluri <chandana.kalluri at xilinx.com>

By default petalinux image on boot auto log's in, however testimage Yocto
framework requires the image to reach login banner and not auto login.
The user can disable autologin by setting IMAGE_AUTOLOGIN = 0 in
local.conf file.  Similarly, for testimage to work the IMAGE_FSTYE =
"wic.qemu-sd" which again needs to be set in local.conf.

By adding these variables inside xilinx-testimage class, eliminate the
need from user to set these variables to correctly use testimage.

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri at xilinx.com>
Signed-off-by: Jaewon Lee <jaewon.lee at xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
---
 meta-xilinx-bsp/classes/xilinx-testimage.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-xilinx-bsp/classes/xilinx-testimage.bbclass b/meta-xilinx-bsp/classes/xilinx-testimage.bbclass
index d9086ec..0126d8b 100644
--- a/meta-xilinx-bsp/classes/xilinx-testimage.bbclass
+++ b/meta-xilinx-bsp/classes/xilinx-testimage.bbclass
@@ -7,3 +7,5 @@ python do_testimage_prepend () {
     supported_fstypes.append('wic.qemu-sd')
 }
 
+IMAGE_AUTOLOGIN = "0"
+IMAGE_FSTYPES = "wic.qemu-sd"
-- 
2.7.4



More information about the meta-xilinx mailing list