[Openembedded-users] Allowing recipe to overwrite /etc config files

Rob Smith smith at trdeo.co.uk
Tue Feb 15 14:03:21 UTC 2011


Hello,

We are putting together an OpenEmbedded based system that requires
changes to many of the standard /etc config files. Some are the standard
files like /etc/network/interfaces, others of installed packages
like /etc/lighttpd.conf. Therefore, changing these config files in each
recipe for each package would take some work. 

What I've done instead, is write a recipe that is included as the very
last package in my image recipe, that just installs all the modified
files to the /etc directory. That way, all the modified files for all
the packages are held in one place for easy maintenance.

However, opkg complains about two packages wanting to write the same
file. 

Can anyone tell me the solution to this? Is there a bitbake parameter to
include in my recipe that will allow overwriting of files already
installed by other packages? Or is there another standard method that
will achieve the same thing?

Thanks very much for any help,
Regards
Rob Smith





More information about the Openembedded-users mailing list