summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-12-06 13:36:03 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-07 17:13:15 +0000
commitf00ba684e0a3d1bda15a6ca06cc4cd466f1eada0 (patch)
treeb75e6f2cc535e8aaf8ea04886db8b730c1da6c20 /documentation/dev-manual
parentac1981e41adc00b1c52995ddb874d50ed1ede73d (diff)
downloadpoky-f00ba684e0a3d1bda15a6ca06cc4cd466f1eada0.tar.gz
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 <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml53
1 files changed, 29 insertions, 24 deletions
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 @@
217 BBFILES ?= "" 217 BBFILES ?= ""
218 218
219 BBLAYERS ?= " \ 219 BBLAYERS ?= " \
220 /path/to/poky/meta \ 220 $HOME/poky/meta \
221 /path/to/poky/meta-yocto \ 221 $HOME/poky/meta-yocto \
222 /path/to/poky/meta-yocto-bsp \ 222 $HOME/poky/meta-yocto-bsp \
223 /path/to/poky/meta-mylayer \ 223 $HOME/poky/meta-mylayer \
224 "
225
226 BBLAYERS_NON_REMOVABLE ?= " \
227 $HOME/poky/meta \
228 $HOME/poky/meta-yocto \
224 " 229 "
225 </literallayout> 230 </literallayout>
226 </para> 231 </para>
@@ -232,14 +237,6 @@
232 During the processing of each <filename>conf/layer.conf</filename> file, BitBake adds the 237 During the processing of each <filename>conf/layer.conf</filename> file, BitBake adds the
233 recipes, classes and configurations contained within the particular layer to the source 238 recipes, classes and configurations contained within the particular layer to the source
234 directory. 239 directory.
235 <note>
236 Removing the <filename>meta-yocto</filename> layer exposes a bug for the
237 current release of the Yocto Project.
238 If for some reason you do remove this layer from the
239 <filename>bblayers.conf</filename>, you must set the
240 <filename>LCONF_VERSION</filename> variable to "5".
241 See <ulink url='https://bugzilla.yoctoproject.org/show_bug.cgi?id=3176'>[YOCTO_#3176]</ulink>
242 for more information.</note>
243 </para> 240 </para>
244 </section> 241 </section>
245 242
@@ -1816,14 +1813,18 @@
1816 <filename>meta</filename>, <filename>meta-yocto</filename>, and 1813 <filename>meta</filename>, <filename>meta-yocto</filename>, and
1817 <filename>meta-yocto-bsp</filename> in the 1814 <filename>meta-yocto-bsp</filename> in the
1818 <filename>poky</filename> Git repository. 1815 <filename>poky</filename> Git repository.
1819 Add the path to your <filename>meta-mylayer</filename> location. 1816 Add the path to your <filename>meta-mylayer</filename> location:
1820 Be sure to substitute your user information in the statement:
1821 <literallayout class='monospaced'> 1817 <literallayout class='monospaced'>
1822 BBLAYERS = " \ 1818 BBLAYERS ?= " \
1823 /home/&lt;user&gt;/poky/meta \ 1819 $HOME/poky/meta \
1824 /home/&lt;user&gt;/poky/meta-yocto \ 1820 $HOME/poky/meta-yocto \
1825 /home/&lt;user&gt;/poky/meta-yocto-bsp \ 1821 $HOME/poky/meta-yocto-bsp \
1826 /home/&lt;user&gt;/poky/meta-mylayer \ 1822 $HOME/poky/meta-mylayer \
1823 "
1824
1825 BBLAYERS_NON_REMOVABLE ?= " \
1826 $HOME/poky/meta \
1827 $HOME/poky/meta-yocto \
1827 " 1828 "
1828 </literallayout></para></listitem> 1829 </literallayout></para></listitem>
1829 </itemizedlist> 1830 </itemizedlist>
@@ -3048,11 +3049,15 @@
3048 BBFILES ?= "" 3049 BBFILES ?= ""
3049 3050
3050 BBLAYERS ?= " \ 3051 BBLAYERS ?= " \
3051 ##COREBASE##/meta \ 3052 $HOME/poky/meta \
3052 ##COREBASE##/meta-yocto \ 3053 $HOME/poky/meta-yocto \
3053 ##COREBASE##/meta-yocto-bsp \ 3054 $HOME/poky/meta-yocto-bsp \
3054 ##COREBASE##/meta-my-bsp-layer \ 3055 $HOME/poky/meta-mylayer \
3055 ##COREBASE##/meta-my-software-layer \ 3056 "
3057
3058 BBLAYERS_NON_REMOVABLE ?= " \
3059 $HOME/poky/meta \
3060 $HOME/poky/meta-yocto \
3056 " 3061 "
3057 </literallayout> 3062 </literallayout>
3058 Creating and providing an archive of the metadata layers 3063 Creating and providing an archive of the metadata layers