From ae06e04cd225d2c2147ca355e2dd39b4f6cf6775 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 29 Jan 2018 15:18:03 -0800 Subject: documentation: Created new "Getting Started" manual. Creation involved removing the overview-manual and replacing it with the getting-started manual. All links to the string "&YOCTO_DOCS_OVERVIEW_URL" had to be replaced with "&YOCTO_DOCS_GS_URL" across the entire YP manual set. I renamed files used to create the manual with prefixes suited for the new manual name, which is "Getting Started With Yocto Project". The style sheet for the new manual needed updating to display the new .PNG image for the title page. The mega-manual file had to be updated to include the files. The mega-manual.sed file had to be updated to include the new manual and not use the overview manual. (From yocto-docs rev: 6c7abf9192390121000f577d6c98f259d290d15d) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- ...ine-configuration-and-policy-configuration.html | 93 ++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 documentation/getting-started/eclipse/html/getting-started/metadata-machine-configuration-and-policy-configuration.html (limited to 'documentation/getting-started/eclipse/html/getting-started/metadata-machine-configuration-and-policy-configuration.html') diff --git a/documentation/getting-started/eclipse/html/getting-started/metadata-machine-configuration-and-policy-configuration.html b/documentation/getting-started/eclipse/html/getting-started/metadata-machine-configuration-and-policy-configuration.html new file mode 100644 index 0000000000..24f32f394f --- /dev/null +++ b/documentation/getting-started/eclipse/html/getting-started/metadata-machine-configuration-and-policy-configuration.html @@ -0,0 +1,93 @@ + + + +2.8.2. Metadata, Machine Configuration, and Policy Configuration + + + + + + + +
+

+2.8.2. Metadata, Machine Configuration, and Policy Configuration

+

+ The previous section described the user configurations that + define BitBake's global behavior. + This section takes a closer look at the layers the build system + uses to further control the build. + These layers provide Metadata for the software, machine, and + policy. +

+

+ In general, three types of layer input exist: +

+
    +
  • Policy Configuration: + Distribution Layers provide top-level or general + policies for the image or SDK being built. + For example, this layer would dictate whether BitBake + produces RPM or IPK packages.

  • +
  • Machine Configuration: + Board Support Package (BSP) layers provide machine + configurations. + This type of information is specific to a particular + target architecture.

  • +
  • Metadata: + Software layers contain user-supplied recipe files, + patches, and append files. +

  • +
+

+

+

+ The following figure shows an expanded representation of the + Metadata, Machine Configuration, and Policy Configuration input + (layers) boxes of the + general Yocto Project Development Environment figure: +

+

+

+
+

+

+

+ In general, all layers have a similar structure. + They all contain a licensing file + (e.g. COPYING) if the layer is to be + distributed, a README file as good practice + and especially if the layer is to be distributed, a + configuration directory, and recipe directories. +

+

+ The Yocto Project has many layers that can be used. + You can see a web-interface listing of them on the + Source Repositories + page. + The layers are shown at the bottom categorized under + "Yocto Metadata Layers." + These layers are fundamentally a subset of the + OpenEmbedded Metadata Index, + which lists all layers provided by the OpenEmbedded community. +

+
+

Note

+ Layers exist in the Yocto Project Source Repositories that + cannot be found in the OpenEmbedded Metadata Index. + These layers are either deprecated or experimental in nature. +
+

+

+

+ BitBake uses the conf/bblayers.conf file, + which is part of the user configuration, to find what layers it + should be using as part of the build. +

+

+ For more information on layers, see the + "Understanding and Creating Layers" + section in the Yocto Project Development Tasks Manual. +

+
+ -- cgit v1.2.3-54-g00ecf