[oe] How to modify /etc/network/interfaces file in a OE recipe

Khem Raj raj.khem at gmail.com
Fri Oct 8 03:26:58 UTC 2010


On Thu, Oct 7, 2010 at 3:54 PM, Gary Thomas <gary at mlbassoc.com> wrote:
> On 10/07/2010 03:11 PM, Elvis Dowson wrote:
>>
>> Hi,
>>        Would someone be able to help me with modifying an
>> omap3-console-image recipe, such that in the final image, the
>> /etc/network/interfaces file gets edited as follows
>>
>> #auto eth0                              <- remove # sign ( auto eth0 )
>> #iface eth0 inet dhcp           <- remove # sign ( iface eth0 inet dhcp )
>> #iface eth1 inet dhcp
>>
>> I am using a Gumstix Overo + Chestnut43 expansion board, which has an
>> inbuilt wired ethernet interface. I have to make this modification manually,
>> to enable this interface each time. However, if I can modify the OE recipe
>> somehow to do this it would be great. I know it can be done, but I don't
>> know where to start and which file to modify.
>
> Add the file the way you like it to
> .../openembedded/recipes/netbase/netbase/overo
> and rebuild netbase.  Use the beagleboard as an example.

or use bblayers and bbappend.

>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list