From f00ba684e0a3d1bda15a6ca06cc4cd466f1eada0 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 6 Dec 2012 13:36:03 -0600 Subject: Documentation: dev-manual, bsp-guide, poky-ref-manual - bblayer.conf updates Fixes [YOCTO #3176] Several places throughout the YP manual set examples are given for the bblayer.conf file. For release 1.3, a bug existed that surfaced when a user removed either the meta or meta-yocto layer from this configuration file. The bug has been fixed and the ripple effect through the YP documentation set affected several manuals. Fixes include updating the code samples that show bblayer.conf so that they now include the BBLAYERS_NON_REMOVABLE variable, a new glossary entry for the variable, and an explanation of both BBLAYER and BBLAYER_NON_REMOVABLE in the section that talks about the bblayer.conf file. (From yocto-docs rev: 904b9ec1cd6d823af0e92f6891fc7e434cf2e358) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 53 ++++++++++++---------- 1 file changed, 29 insertions(+), 24 deletions(-) (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index e9f55ce1db..1e2ddefda0 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -217,10 +217,15 @@ BBFILES ?= "" BBLAYERS ?= " \ - /path/to/poky/meta \ - /path/to/poky/meta-yocto \ - /path/to/poky/meta-yocto-bsp \ - /path/to/poky/meta-mylayer \ + $HOME/poky/meta \ + $HOME/poky/meta-yocto \ + $HOME/poky/meta-yocto-bsp \ + $HOME/poky/meta-mylayer \ + " + + BBLAYERS_NON_REMOVABLE ?= " \ + $HOME/poky/meta \ + $HOME/poky/meta-yocto \ " @@ -232,14 +237,6 @@ During the processing of each conf/layer.conf file, BitBake adds the recipes, classes and configurations contained within the particular layer to the source directory. - - Removing the meta-yocto layer exposes a bug for the - current release of the Yocto Project. - If for some reason you do remove this layer from the - bblayers.conf, you must set the - LCONF_VERSION variable to "5". - See [YOCTO_#3176] - for more information. @@ -1816,14 +1813,18 @@ meta, meta-yocto, and meta-yocto-bsp in the poky Git repository. - Add the path to your meta-mylayer location. - Be sure to substitute your user information in the statement: + Add the path to your meta-mylayer location: - BBLAYERS = " \ - /home/<user>/poky/meta \ - /home/<user>/poky/meta-yocto \ - /home/<user>/poky/meta-yocto-bsp \ - /home/<user>/poky/meta-mylayer \ + BBLAYERS ?= " \ + $HOME/poky/meta \ + $HOME/poky/meta-yocto \ + $HOME/poky/meta-yocto-bsp \ + $HOME/poky/meta-mylayer \ + " + + BBLAYERS_NON_REMOVABLE ?= " \ + $HOME/poky/meta \ + $HOME/poky/meta-yocto \ " @@ -3048,11 +3049,15 @@ BBFILES ?= "" BBLAYERS ?= " \ - ##COREBASE##/meta \ - ##COREBASE##/meta-yocto \ - ##COREBASE##/meta-yocto-bsp \ - ##COREBASE##/meta-my-bsp-layer \ - ##COREBASE##/meta-my-software-layer \ + $HOME/poky/meta \ + $HOME/poky/meta-yocto \ + $HOME/poky/meta-yocto-bsp \ + $HOME/poky/meta-mylayer \ + " + + BBLAYERS_NON_REMOVABLE ?= " \ + $HOME/poky/meta \ + $HOME/poky/meta-yocto \ " Creating and providing an archive of the metadata layers -- cgit v1.2.3-54-g00ecf