From bfb0ce7cb50bbd983d34a9eb01f4af07aa6969fb Mon Sep 17 00:00:00 2001 From: Sai Hari Chandana Kalluri Date: Mon, 11 Feb 2019 16:28:03 -0800 Subject: xilinx-testimage.bbclass: Include IMAGE_AUTOLOGIN and IMAGE_FSTYPES values for runqemu 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 Signed-off-by: Jaewon Lee Signed-off-by: Manjukumar Matha --- 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 d9086ec0..0126d8ba 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" -- cgit v1.2.3-54-g00ecf