Re: [yocto] customizing system configuration files in my image

2016-07-20 Thread piotr.lewicki
It's always helpful to first check here: http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html and here: https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html But find an answer attached.. On 20.07.2016 13:41, Jörg Wittenberger wrote: Hi all, yet

Re: [yocto] customizing system configuration files in my image

2016-07-20 Thread Jörg Wittenberger
Hi all, yet another newbie here stumbling around... I'm not trying to find "any way" to do what I need. I'm trying to learn how these thing sould be done in yocto. Looks to mea s if I'm missing something basic. Zhenhua Lu wrote: > Usually I do it by adding bbappend of corresponding

Re: [yocto] customizing system configuration files in my image

2016-07-06 Thread Paul Eggleton
On Fri, 01 Jul 2016 09:55:38 Zhenhua Luo wrote: > On Fri, 01 Jul 2016 09:11:47 Ottavio Campana wrote: > > I would like to customize an image I am developing based on core image > > minimal. > > > > Particularly, I'd like to customize the files /etc/network/interfaces and > > /etc/inittab . > >

Re: [yocto] customizing system configuration files in my image

2016-07-01 Thread Zhenhua Luo
, Zhenhua From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Ottavio Campana Sent: Friday, July 01, 2016 5:12 PM To: yocto@yoctoproject.org Subject: [yocto] customizing system configuration files in my image Hello, I would like to customize an image I am

Re: [yocto] customizing system configuration files in my image

2016-07-01 Thread Daniel.
After that you can create a image recipe and inherit from that .bbclass. If you don't want to create a .bbclass you can use this same aproach directly on your image recipe :) Regards, 2016-07-01 10:16 GMT-03:00 Daniel. : > Hi Ottavio, > > There is more than way to do it.

Re: [yocto] customizing system configuration files in my image

2016-07-01 Thread Daniel.
Hi Ottavio, There is more than way to do it. In your case I would use ROOTFS_POSTPROCESS_COMMAND to modify files prior the creation of the rootfs. You may: - Create a .bbclass for your image inheriting core-image for example. - Create a shell function to do some sed magic. - Setup that function

[yocto] customizing system configuration files in my image

2016-07-01 Thread Ottavio Campana
Hello, I would like to customize an image I am developing based on core image minimal. Particularly, I'd like to customize the files /etc/network/interfaces and /etc/inittab . What should I do achieve that? Thank you Ottavio -- [Videotec Logo] Ottavio Campana