3

I am trying to understand yocto terminology. I understood that recipe is a set of instructions used by bitbake tool to fetch the source code, configure, compile and generate the package ( software component ).

Metadata is collection of Configuration files ( .conf ), Recipes ( .bb and .bbappend ) , Classes ( .bbclass ) and Includes ( .inc ).

What I don't understand is the term 'layer'. Is the term 'layer' and 'metadata' both same or different

For example: meta-fsl-arm : Is this a layer or metadata.

2 Answers 2

3

Metadata is just a generic term for data describing other data as wiki explains.

Layers are recipe containers (folders), so meta-fsl-arm is indeed a layer.

I suggest you to read some documentation, those slides helped me, as well as mega manual and Yocto wiki.

3

meta-layer: A meta-layer contains the meta data. meta-data means conf, classes, and recipes.

e.g:

  1. meta-fsl-arm is a meta-layer which contains the meta data(configuration and mechines classes and all recipes )
  2. meta-phytec is a layer which contains the meta-data(like conf files, classes, and all recipes)
7
  • What about meta-fsl-arm and other layers. Will it not contain metadata
    – md.jamal
    Dec 22, 2017 at 5:49
  • meta-fsl-arm is a layer which contains the metadata(conf, classes and recipes) Dec 22, 2017 at 5:50
  • 1
    So you are saying both are same and can be interchangeably
    – md.jamal
    Dec 22, 2017 at 5:51
  • I modified the answer ,now you can undestand Dec 22, 2017 at 5:56
  • 1
    meta-layers are just folders, they can contain anything you want. You can put recipes, configs, patches, closed binaries, sourcecode, etc ...
    – Nayfe
    Dec 22, 2017 at 10:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.