I'm trying to understand the concept of creating a recipe and having it included in the build I do.
For example, suppose I want to create the meta-intel/meta-cedartrail BSP with the core-image-minimal image, but I wanted to include hello world as shown in 3.1.2 Autotooled Package section of the Poky reference Manual.
Where do I put the recipe file? I'm guessing a recipe-jfa directory at the same level as the meta-cedartrail recipe-core, recipe-kernel, recipe-graphic, recipe-bsp?
Hi Jim,
The best way to do this is to create your own layer, and keep all of your customizations there.
You'd put this in a directory, say meta-jfa with something like the following:
Is this all that is needed to get helloworld put into /usr/bin so it can be executed at the command line when the image is booted?
You'd also need to add the helloworld package to your image file. The simplest way to do this is to add EXTRA_IMAGE_FEATURES += "helloworld" in your build's local.conf file.
I think the above should be accurate enough w/o testing it myself.
I got the layer created like you said, but the test had a fetch problem and it just locked up there. Had to control-C out of it. Console below: