aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2019-02-11 16:28:03 -0800
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-06-28 15:37:10 -0700
commitbfb0ce7cb50bbd983d34a9eb01f4af07aa6969fb (patch)
tree45cc50ad844bf3e083a9a9793f94be57c235aec7
parentc3dcd6eeaf10ea869bb63dce35b755730b9a6fb2 (diff)
downloadmeta-xilinx-bfb0ce7cb50bbd983d34a9eb01f4af07aa6969fb.tar.gz
meta-xilinx-bfb0ce7cb50bbd983d34a9eb01f4af07aa6969fb.tar.bz2
meta-xilinx-bfb0ce7cb50bbd983d34a9eb01f4af07aa6969fb.zip
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 <chandana.kalluri@xilinx.com> Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r--meta-xilinx-bsp/classes/xilinx-testimage.bbclass2
1 files changed, 2 insertions, 0 deletions
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"