Hi Paul,
               I understood what you are trying to say but from where does the 
Yocto pick up the contents for a directory in final rootfs image. Is there any 
recipe file in which I can find this. For example: do_install() etc.
I also came to know from you that I need a recipe for adding a file into rootfs 
image. That's well understood. Please clarify about the particular recipe file 
where the contents are copied from source to the rootfs image.

Thank you for writing to me.

Regards,
Harish.

-----Original Message-----
From: Paul Barker [mailto:p...@betafive.co.uk] 
Sent: Friday, May 24, 2019 3:26 PM
To: Tg, Harish <harish...@aptiv.com>; Yocto discussion list 
<yocto@yoctoproject.org>
Subject: Re: [yocto] EXT SENDER - yocto Digest, Vol 104, Issue 95

On Fri, 24 May 2019, at 10:14, Tg, Harish wrote:
> Kindly help me out in locating the source for /usr/bin of rootfs image 
> in yocto. I did a find but I do not see the /usr/bin and its exact 
> contents as in the rootfs image. I need to locate this badly as this 
> would help in adding the commands to the folder which would be finally 
> added to the rootfs image. Your help is highly appreciated. Thanks in 
> advance.
> 

In a Yocto Project build, the rootfs is built from packages and the packages 
are in turn built from recipes. The supported process for adding new software 
to the image is to write a recipe which creates a new package, then add the 
package to IMAGE_INSTALL for an image.

There isn't a location where you can just drop files for them to be included in 
a rootfs build.

I'd recommend you search online for a tutorial on this, there's plenty of good 
resources available.

--
Paul Barker
Managing Director & Principal Engineer
Beta Five Ltd
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to