All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Need to customize /etc/network/interface
@ 2014-01-24  1:08 Harpreet Singh
  2014-01-24  2:02 ` zhenhua.luo
  0 siblings, 1 reply; 3+ messages in thread
From: Harpreet Singh @ 2014-01-24  1:08 UTC (permalink / raw
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

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*

[-- Attachment #2: Type: text/html, Size: 809 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Need to customize /etc/network/interface
  2014-01-24  1:08 Need to customize /etc/network/interface Harpreet Singh
@ 2014-01-24  2:02 ` zhenhua.luo
  2014-01-25  2:10   ` Harpreet Singh
  0 siblings, 1 reply; 3+ messages in thread
From: zhenhua.luo @ 2014-01-24  2:02 UTC (permalink / raw
  To: Harpreet Singh; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 948 bytes --]

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@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Harpreet Singh
Sent: Friday, January 24, 2014 9:09 AM
To: yocto@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

[-- Attachment #2: Type: text/html, Size: 5721 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Need to customize /etc/network/interface
  2014-01-24  2:02 ` zhenhua.luo
@ 2014-01-25  2:10   ` Harpreet Singh
  0 siblings, 0 replies; 3+ messages in thread
From: Harpreet Singh @ 2014-01-25  2:10 UTC (permalink / raw
  To: zhenhua.luo@freescale.com; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]

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, zhenhua.luo@freescale.com <
zhenhua.luo@freescale.com> 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:* yocto-bounces@yoctoproject.org [mailto:
> yocto-bounces@yoctoproject.org] *On Behalf Of *Harpreet Singh
> *Sent:* Friday, January 24, 2014 9:09 AM
> *To:* yocto@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*
>



-- 
*Regards*

*Harpreet Singh*
*9873064104*

[-- Attachment #2: Type: text/html, Size: 5697 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-25  2:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-24  1:08 Need to customize /etc/network/interface Harpreet Singh
2014-01-24  2:02 ` zhenhua.luo
2014-01-25  2:10   ` Harpreet Singh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.