Building image from Root


Murugesh M
 

Hi

I am new to Yocto project and have little experience in Linux.

In my computer, Root folder is having free space of 65 GB and Home is having 45 GB free space.

Shall I get the poky in root folder and do the complete Yocto build image process from Root directory itself?

Please suggest.

Thanks.


Murugesh M
 

I had proceeded the Build image process with Home directory and got stuck with low disk space.
Now, the build image process is stopped almost near to last stage.

Please provide me any suggestion to come out of this problem.


Khem Raj
 

try adding

INHERIT += "rm_work"

to local.conf and see if that helps

On Thu, Apr 15, 2021 at 11:11 PM Murugesh M <murugesh.pappu@...> wrote:

I had proceeded the Build image process with Home directory and got stuck with low disk space.
Now, the build image process is stopped almost near to last stage.

Please provide me any suggestion to come out of this problem.


Mike Looijmans
 

You can use both by changing the directory for downloads and sstate-cache. Put these in your local.conf:

SSTATE_DIR = "/opt/sstate-cache"
DL_DIR = "/opt/downloads"

(You change "/opt" to some other location. Make sure you have write access to those directories)

Move the contents of the build/sstate-cache and downloads to the new directories.

You really should consider adding extra storage. It's the easiest way out. OpenEmbedded/Yocto is insensitive to disk speed, so if you have some old rotating disk in the attic, put that in your PC.



Met vriendelijke groet / kind regards,

Mike Looijmans
System Expert


TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands

T: +31 (0) 499 33 69 69
E: mike.looijmans@...
W: www.topic.nl

Please consider the environment before printing this e-mail

On 15-04-2021 17:34, Murugesh M via lists.yoctoproject.org wrote:
Hi

I am new to Yocto project and have little experience in Linux.

In my computer, Root folder is having free space of 65 GB and Home is having 45 GB free space.

Shall I get the poky in root folder and do the complete Yocto build image process from Root directory itself?

Please suggest.

Thanks.

--
Mike Looijmans