[yocto] Need to customize /etc/network/interface

zhenhua.luo at freescale.com zhenhua.luo at freescale.com
Thu Jan 23 18:02:35 PST 2014


My suggestion is to create a bbappend file for init-ifupdown to override the default interfaces.

$ tree meta-custom/recipes-core/init-ifupdown
|-- files
|   `-- interfaces
`-- init-ifupdown_1.0.bbappend


Best Regards,

Zhenhua

From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Harpreet Singh
Sent: Friday, January 24, 2014 9:09 AM
To: yocto at yoctoproject.org
Subject: [yocto] Need to customize /etc/network/interface

Hi
I want to customize /etc/network/interface file according to requirement. I tried creating another reciepe file where i am installing my interface file to /etc/network/interface i.e. "install -m 0644 ${WORKDIR}/scripts/interfaces123 ${D}${sysconfdir}/network/interfaces".
But still in build this interface file is not getting updated. Looks kine during bitbake, this file is overwritten by standard file.

Please help

--
Regards

Harpreet Singh
9873064104
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140124/755a2198/attachment.html>


More information about the yocto mailing list