[Openembedded-users] Overlaying files in a rootfs image

Caglar Akyuz caglarakyuz at gmail.com
Fri Aug 13 07:46:52 UTC 2010


On Thursday 12 August 2010 11:15:54 pm Charles Manning wrote:
> Hello
> 
> I want to do is generate a modified rootfs image that basically takes a
> standard image build (omap3-console-image) but then overlays it with some
>  of my own files to replace some of the files in a standard image.
> 
> I tried making my overlay into a package and then just added that to the
> IMAGE_INSTALL of a modified omap3-console-image.bb
> 
> That didn't work because opgk-cl complained that there were two files to
> install: one in the original package and one in the overlay that I wanted
>  to use.
> 

I have similar requirements and I create my own filesystem images along with 
my own recipes and just don't install other packages clashing with my recipes.

Finally I use preprocessing commands for removing things I don't need or 
creating some symbolic links. For instance followings are defined in one of my 
rootfs recipes:

 IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
 IMAGE_PREPROCESS_COMMAND = "rm ${IMAGE_ROOTFS}/etc/rcS.d/S*udev*"

> This is surely quite a common problem (eg. tweaking an init script) so
>  there must be any easy way to do this.
> 

This is a problem for me as well. There are some variables for tweaking such 
things like IMAGE_LOGIN_MANAGER, IMAGE_DEV_MANAGER.

Best Regards,
Caglar

> Any info/hints appreciated.
> 
> Charles
> 
> _______________________________________________
> Openembedded-users mailing list
> Openembedded-users at linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
> 




More information about the Openembedded-users mailing list