Adding rc.local IMX6 image In Yocto ?

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding rc.local IMX6 image In Yocto ?

2,907 Views
mustafabakircio
Contributor IV

Hello Guys ;

I want to insert rc.local to my wandboard. The rc.local is placed at meta-fsl-demos/recipes-fsl/fsl-rc-local layer and in the .bb file INITSCRIPTNAME is "rc.local"
So I applied rc.local to CORE_IMAGE_INSTALL_..... += "rc.local"
But i faced with problem like

ERROR: Nothing RPROVIDES "rc.local" ........
ERROR: Required build target 'core-image-base' has no buildable providers.

Is there any way to append this features to my image in yocto to my Wandboard or Can we provide rc.local features to core-image-base ?

Thanks

Best Regards
Must_ba

Tags (4)
1 Reply

770 Views
irina_patru
NXP Employee
NXP Employee

Hi Mustafa,

If you want to quickly add the functionality from fsl-rc-local.bb in the image that you build, you need to place the name of the package in your conf/local.conf file.

In this case, add IMAGE_INSTALL_append = "fsl-rc-local" to your conf/local.conf from build directory.

 

Best regards,

Irina