Hi ,
My goal is to perform system auto login without any username/password prompt.
Currently we only have the busybox getty program which not support this feature.
We using the yocto env with linux 4.1.8 and system v init.
I need to add and execute the agetty program instead of the busybox getty I currently have.
I searched for agetty and found some bin files across couple folders inside the QorIQ-SDK folder such as
1. QorIQ-SDK.../build_p4080ds/tmp/work/ppce500ms-fsl-linux/util-linux/2.62.2-r0/package/sbin/agetty
2. QorIQ-SDK.../build_p4080ds/tmp/work/ppce500ms-fsl-linux/util-linux/2.62.2-r0/package/sbin/.debug/agetty
3. QorIQ-SDK.../build_p4080ds/tmp/work/ppce500ms-fsl-linux/util-linux/2.62.2-r0/packages-split/util-linux-dbg/sbin/.debug/agetty
4. QorIQ-SDK.../build_p4080ds/tmp/work/ppce500ms-fsl-linux/util-linux/2.62.2-r0/packages-split/util-linux-agetty/sbin/agetty
5. QorIQ-SDK.../build_p4080ds/tmp/work/x86_64-linux/util-linux-native/2.62.2-r0/sysroot-destdir/home/gripen/Public/QorIQ-SDK.../build_p4080ds/tmp/sysroots/x86_64-linux/sbin/agetty
6. QorIQ-SDK.../build_p4080ds/tmp/sysroots/x86_64-linux/sbin/agetty
I tried to copy one of these files into my own /bin folder and run it from /etc/inittab file and got the error:
"/bin/agetty: /bin/agetty: cannot execute binary file"
Additionaly, I added the following line to QorIQ.../build_p4080ds/conf/local.conf : IMAGE_INSTALL_apped = " agetty"
and run: . ./fsl-setup-env -m p4080ds (from QorIQ folder)
followed by: bitbake fsl-image-core (from build_p4080ds folder)
and got the error:
ERROR: Nothing RPROVIDES 'agetty' (but /home/gripen/Public/QorIQ.../sources/meta-freescale/recipes-fsl/images/fsl-image-core.bb RDEPENDS on or otherwise requires it)
ERROR: Required build target 'fsl-image-core' has no buildable providers.
Missing or unbuildable dependency chain was: ['fsl-image-core' , 'agetty']
thanks