Closed laibulle closed 6 years ago
The issue here seems to be the exception "OSError: [Errno 12] Cannot allocate memory". I'd guess that's a problem with your build machine rather than within OE (unless there's a bug in bitbake we don't know about).
Do you have at least ~1GB RAM on the machine you're building on? And do you have an alternative machine you could test this on?
I will try on an other VPS.
What are the specs of your vps?
It has 2 GB of ram and 2 x86_64 cores. But it already run a full Mender stack so I don't think that it has 1 GB of ram available
free -m
total used free shared buff/cache available
Mem: 2001 753 152 36 1095 942
Swap: 0 0 0
Could you try building core-image-minimal with a clean poky clone, without any additional layers? Then add layers in a couple at a time (meta-oe layers first, then meta-raspberrypi, then meta-mender layers).
Even so, I'm pretty sure less than 1G of ram is not feasible.
I am trying on a baremetal server, it seems to work for now. I will give you a feedback once it is completed.
Thank you
Sounds good.
Ok, I was able to build with a better server.
Thanks for feedback. I'm glad. Enjoy!
steps to reproduce
conf/bblayers.conf
Error