md.jamal
md.jamal

Reputation: 4567

Difference between layer and metadata in Yocto

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.

Upvotes: 3

Views: 6567

Answers (2)

yoctotutor.com
yoctotutor.com

Reputation: 5521

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)

Upvotes: 3

Nayfe
Nayfe

Reputation: 2310

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.

Upvotes: 4

Related Questions