Auto Login using systeminit #yocto

Amrun Nisha.R


I want to add a feature "autologin" to the core-image-base. I created a new layer for auto login as "meta-autologin" in the poky and added some sample script to run in the auto login. When I build the image and run in the imx8 board, it is not able to run in the systeminit function. It is not able to create rc0, rc1, rc2 folders. But, the autologin script is placed in the /etc/init.d/autologin. Is there any other way to add this autologin to run in the systeminit function in etc. 

Join to automatically receive all group messages.