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

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 <[email protected]>
Signed-off-by: Jaewon Lee <[email protected]>
Signed-off-by: Manjukumar Matha <[email protected]>
---
 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

-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to