[oe] how to change system files

Jaap de Jong jaap.dejong at nedap.com
Tue Jun 28 09:49:07 UTC 2011



On 06/28/2011 11:23 AM, Anders Darander wrote:
> On Tue, Jun 28, 2011 at 10:35, Jaap de Jong<jaap.dejong at nedap.com>  wrote:
>> What is the best way to change files like /etc/network/interfaces?
>> I have about 5 files or so that already are supplied by (default) packages;
>> they are not in 1 package.
>> I would like to have them in one package that I own so that I can easily
>> update them, but this is not necessary.
>> Is overlays the way to go?
> I'm handling this by using .bbappend's in a local layer.
> This won't give you one package, rather the ability to replace/add files (e.g.
> /etc/network/interfaces) in the standard packages.
>
Yeah, but what if I decide at a certain point in time to change the 
/etc/network/interfaces file?
Normally I would increment PR in the bb file and then build it.
And finally at the target I would do opkg upgrade.

Jaap




More information about the Openembedded-devel mailing list