On 05-04-17 13:21, Maier, Chris wrote:
Hi,



I want to create a deployable SD card image. My board (beaglebone based) boots
from SD card and runs a script which copies the rootfs.tar.bz2 to the flash
memory.

So how can I deploy a copy of the whole rootfs to ${D}/home/root?

A rootfs in the rootfs, does that make sense?

I do it like this:

http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135187.html


The idea is that you make a regular package that contains the tar.bz2 of the image you want in flash and put that into the image for the SD card.

You cannot have the same image, since that would recursively include itself, but you could make big-image.bb like this:

require small-image.bb
IMAGE_INSTALL += "big-project"




Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: [email protected]
Website: www.topicproducts.com

Please consider the environment before printing this e-mail





--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to