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 to run at rootfs creation. Here is a example, I hope this helps :) https://gist.github.com/gkos/4e981dffb929886cd8a6c5ed738b7b08 Regards, 2016-07-01 6:11 GMT-03:00 Ottavio Campana <o.camp...@videotec.com>: > 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 > > > > -- > > [image: Videotec Logo] <http://www.videotec.com/> > > *Ottavio Campana* > *Product Manager - Electronic R&D Department* > > Office +39.0445.697.411 Fax +39.0445.697.414 > Address VIDEOTEC S.p.A. - Via Friuli, 6 - 36015 Schio (Vicenza) - Italy > > > > > *Any information herein transmitted only concerns the person or the > company named in the address and is deemed to be confidential It is > strictly forbidden to transmit, post, forward or otherwise use said > information to anyone other than the recipient. If you have received this > message by mistake, please contact the sender and delete any relevant > information from your computer. This mailbox is only meant for sending and > receiving messages pertaining business matters and any other use for > personal purposes is forbidden and unauthorized. Therefore, any email sent > and received will be handled as ordinary business messages and subject to > the company's own rules, and may thus be read also by people other than the > user named in the mailbox address. * > > [image: Twitter Logo blue] <http://www.videotec.com/twitter> [image: > Youtube logo red] <http://www.videotec.com/youtube> [image: Linkedin > logo blue] <http://www.videotec.com/linkedin> > > > > > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > > -- *"Do or do not. There is no try"* *Yoda Master*
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto