summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev/kernel-dev-common.xml
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2017-10-26 09:04:12 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-10-30 15:55:08 +0000
commitf29cdba71ac93494ea68fdea89dd5fa755694114 (patch)
tree203ca9f297ab84ee97639b8c3980735b52b5da2a /documentation/kernel-dev/kernel-dev-common.xml
parent4cbdb705ded70462e4107b3f577aa32958a16035 (diff)
downloadpoky-f29cdba71ac93494ea68fdea89dd5fa755694114.tar.gz
dev-manual, kernel-dev: Replaced yocto-layers with bitbake-layers command
The yocto-layers script is being deprecated in the 2.4 YP release and the preferred script is now bitbake-layers. In particular, the section that talks about creating a general layer was using yocto-layers create. I have replaced it with bitbake-layers create-layer command. The bsp-guide and kernel-dev manual had links that used (in the case of kernel-dev) and referenced yocto-layers. I had to change these to reflect using bitbake-layers create-layers. (From yocto-docs rev: 73ec4d0c8c2c093b7c9df86038d132f0da975273) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/kernel-dev/kernel-dev-common.xml')
-rw-r--r--documentation/kernel-dev/kernel-dev-common.xml58
1 files changed, 29 insertions, 29 deletions
diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml
index 3b4428549d..b8fd870162 100644
--- a/documentation/kernel-dev/kernel-dev-common.xml
+++ b/documentation/kernel-dev/kernel-dev-common.xml
@@ -115,18 +115,15 @@
115 <emphasis>Create a Layer for Patches:</emphasis> 115 <emphasis>Create a Layer for Patches:</emphasis>
116 You need to create a layer to hold patches created 116 You need to create a layer to hold patches created
117 for the kernel image. 117 for the kernel image.
118 You can use the <filename>yocto-layer</filename> command 118 You can use the
119 as follows: 119 <filename>bitbake-layers create-layer</filename>
120 command as follows:
120 <literallayout class='monospaced'> 121 <literallayout class='monospaced'>
121 $ cd ~/poky 122 $ cd ~/poky/build
122 $ yocto-layer create mylayer -o ../meta-mylayer 123 $ bitbake-layers create-layer ../../meta-mylayer
123 Please enter the layer priority you'd like to use for the layer: [default: 6] 124 NOTE: Starting bitbake server...
124 Would you like to have an example recipe created? (y/n) [default: n] 125 Add your new layer with 'bitbake-layers add-layer ../../meta-mylayer'
125 Would you like to have an example bbappend file created? (y/n) [default: n] 126 $
126
127 New layer created in ../meta-mylayer.
128
129 Don't forget to add it to your BBLAYERS (for details see ../meta-mylayer/README).
130 </literallayout> 127 </literallayout>
131 <note> 128 <note>
132 For background information on working with 129 For background information on working with
@@ -138,8 +135,9 @@
138 section in the Yocto Project Board Support (BSP) 135 section in the Yocto Project Board Support (BSP)
139 Developer's Guide, respectively. 136 Developer's Guide, respectively.
140 For information on how to use the 137 For information on how to use the
141 <filename>yocto-layer</filename> script, see the 138 <filename>bitbake-layers create-layer</filename>
142 "<ulink url='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-yocto-layer-script'>Creating a General Layer Using the yocto-layer Script</ulink>" 139 command, see the
140 "<ulink url='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-bitbake-layers-script'>Creating a General Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
143 section in the Yocto Project Development Tasks 141 section in the Yocto Project Development Tasks
144 Manual. 142 Manual.
145 </note> 143 </note>
@@ -155,6 +153,8 @@
155 <literallayout class='monospaced'> 153 <literallayout class='monospaced'>
156 $ cd ~/poky/build 154 $ cd ~/poky/build
157 $ bitbake-layers add-layer ../../meta-mylayer 155 $ bitbake-layers add-layer ../../meta-mylayer
156 NOTE: Starting bitbake server...
157 $
158 </literallayout> 158 </literallayout>
159 </para></listitem> 159 </para></listitem>
160 <listitem><para> 160 <listitem><para>
@@ -340,18 +340,14 @@
340 <emphasis>Create a Layer for Patches:</emphasis> 340 <emphasis>Create a Layer for Patches:</emphasis>
341 You need to create a layer to hold patches created 341 You need to create a layer to hold patches created
342 for the kernel image. 342 for the kernel image.
343 You can use the <filename>yocto-layer</filename> command 343 You can use the
344 as follows: 344 <filename>bitbake-layers create-layer</filename>
345 command as follows:
345 <literallayout class='monospaced'> 346 <literallayout class='monospaced'>
346 $ cd ~/poky 347 $ cd ~/poky/build
347 $ yocto-layer create mylayer -o ../meta-mylayer 348 $ bitbake-layers create-layer ../../meta-mylayer
348 Please enter the layer priority you'd like to use for the layer: [default: 6] 349 NOTE: Starting bitbake server...
349 Would you like to have an example recipe created? (y/n) [default: n] 350 Add your new layer with 'bitbake-layers add-layer ../../meta-mylayer'
350 Would you like to have an example bbappend file created? (y/n) [default: n]
351
352 New layer created in ../meta-mylayer.
353
354 Don't forget to add it to your BBLAYERS (for details see ../meta-mylayer/README).
355 </literallayout> 351 </literallayout>
356 <note> 352 <note>
357 For background information on working with 353 For background information on working with
@@ -363,8 +359,9 @@
363 section in the Yocto Project Board Support (BSP) 359 section in the Yocto Project Board Support (BSP)
364 Developer's Guide, respectively. 360 Developer's Guide, respectively.
365 For information on how to use the 361 For information on how to use the
366 <filename>yocto-layer</filename> script, see the 362 <filename>bitbake-layers create-layer</filename>
367 "<ulink url='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-yocto-layer-script'>Creating a General Layer Using the yocto-layer Script</ulink>" 363 command, see the
364 "<ulink url='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-bitbake-layers-script'>Creating a General Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
368 section in the Yocto Project Development Tasks 365 section in the Yocto Project Development Tasks
369 Manual. 366 Manual.
370 </note> 367 </note>
@@ -380,6 +377,8 @@
380 <literallayout class='monospaced'> 377 <literallayout class='monospaced'>
381 $ cd ~/poky/build 378 $ cd ~/poky/build
382 $ bitbake-layers add-layer ../../meta-mylayer 379 $ bitbake-layers add-layer ../../meta-mylayer
380 NOTE: Starting bitbake server ...
381 $
383 </literallayout> 382 </literallayout>
384 </para></listitem> 383 </para></listitem>
385 <listitem><para> 384 <listitem><para>
@@ -484,10 +483,11 @@
484 <note><title>Tip</title> 483 <note><title>Tip</title>
485 The Yocto Project comes with many tools that simplify 484 The Yocto Project comes with many tools that simplify
486 tasks you need to perform. 485 tasks you need to perform.
487 One such tool is the <filename>yocto-layer create</filename> 486 One such tool is the
488 script, which simplifies creating a new layer. 487 <filename>bitbake-layers create-layer</filename>
488 command, which simplifies creating a new layer.
489 See the 489 See the
490 "<ulink url='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-yocto-layer-script'>Creating a General Layer Using the yocto-layer Script</ulink>" 490 "<ulink url='&YOCTO_DOCS_DEV_URL;#creating-a-general-layer-using-the-bitbake-layers-script'>Creating a General Layer Using the <filename>bitbake-layers</filename> Script</ulink>"
491 section in the Yocto Project Development Tasks Manual for 491 section in the Yocto Project Development Tasks Manual for
492 information on how to use this script. 492 information on how to use this script.
493 </note> 493 </note>