Hi Zhenhua,

Thanks for help.

I have a scenario where i have to customize "interface" according to my
recipe. Actually i need to customize interface file according to recipe
chosen.

In another words i need to select between two interfaces files during
build. Is there any option using bbapend, to choose one particular file
between two during build?

--
Regards

Harpreet Singh
VVDN Technologies


On Thu, Jan 23, 2014 at 6:02 PM, [email protected] <
[email protected]> wrote:

>  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*
>



-- 
*Regards*

*Harpreet Singh*
*9873064104*
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to