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: [email protected] [mailto:[email protected]] On 
Behalf Of Harpreet Singh
Sent: Friday, January 24, 2014 9:09 AM
To: [email protected]
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
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to