mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 17:26:36 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
4cbdb705de
commit
f29cdba71a
@@ -115,18 +115,15 @@
|
||||
<emphasis>Create a Layer for Patches:</emphasis>
|
||||
You need to create a layer to hold patches created
|
||||
for the kernel image.
|
||||
You can use the <filename>yocto-layer</filename> command
|
||||
as follows:
|
||||
You can use the
|
||||
<filename>bitbake-layers create-layer</filename>
|
||||
command as follows:
|
||||
<literallayout class='monospaced'>
|
||||
$ cd ~/poky
|
||||
$ yocto-layer create mylayer -o ../meta-mylayer
|
||||
Please enter the layer priority you'd like to use for the layer: [default: 6]
|
||||
Would you like to have an example recipe created? (y/n) [default: n]
|
||||
Would you like to have an example bbappend file created? (y/n) [default: n]
|
||||
|
||||
New layer created in ../meta-mylayer.
|
||||
|
||||
Don't forget to add it to your BBLAYERS (for details see ../meta-mylayer/README).
|
||||
$ cd ~/poky/build
|
||||
$ bitbake-layers create-layer ../../meta-mylayer
|
||||
NOTE: Starting bitbake server...
|
||||
Add your new layer with 'bitbake-layers add-layer ../../meta-mylayer'
|
||||
$
|
||||
</literallayout>
|
||||
<note>
|
||||
For background information on working with
|
||||
@@ -138,8 +135,9 @@
|
||||
section in the Yocto Project Board Support (BSP)
|
||||
Developer's Guide, respectively.
|
||||
For information on how to use the
|
||||
<filename>yocto-layer</filename> script, see the
|
||||
"<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>"
|
||||
<filename>bitbake-layers create-layer</filename>
|
||||
command, see the
|
||||
"<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>"
|
||||
section in the Yocto Project Development Tasks
|
||||
Manual.
|
||||
</note>
|
||||
@@ -155,6 +153,8 @@
|
||||
<literallayout class='monospaced'>
|
||||
$ cd ~/poky/build
|
||||
$ bitbake-layers add-layer ../../meta-mylayer
|
||||
NOTE: Starting bitbake server...
|
||||
$
|
||||
</literallayout>
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
@@ -340,18 +340,14 @@
|
||||
<emphasis>Create a Layer for Patches:</emphasis>
|
||||
You need to create a layer to hold patches created
|
||||
for the kernel image.
|
||||
You can use the <filename>yocto-layer</filename> command
|
||||
as follows:
|
||||
You can use the
|
||||
<filename>bitbake-layers create-layer</filename>
|
||||
command as follows:
|
||||
<literallayout class='monospaced'>
|
||||
$ cd ~/poky
|
||||
$ yocto-layer create mylayer -o ../meta-mylayer
|
||||
Please enter the layer priority you'd like to use for the layer: [default: 6]
|
||||
Would you like to have an example recipe created? (y/n) [default: n]
|
||||
Would you like to have an example bbappend file created? (y/n) [default: n]
|
||||
|
||||
New layer created in ../meta-mylayer.
|
||||
|
||||
Don't forget to add it to your BBLAYERS (for details see ../meta-mylayer/README).
|
||||
$ cd ~/poky/build
|
||||
$ bitbake-layers create-layer ../../meta-mylayer
|
||||
NOTE: Starting bitbake server...
|
||||
Add your new layer with 'bitbake-layers add-layer ../../meta-mylayer'
|
||||
</literallayout>
|
||||
<note>
|
||||
For background information on working with
|
||||
@@ -363,8 +359,9 @@
|
||||
section in the Yocto Project Board Support (BSP)
|
||||
Developer's Guide, respectively.
|
||||
For information on how to use the
|
||||
<filename>yocto-layer</filename> script, see the
|
||||
"<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>"
|
||||
<filename>bitbake-layers create-layer</filename>
|
||||
command, see the
|
||||
"<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>"
|
||||
section in the Yocto Project Development Tasks
|
||||
Manual.
|
||||
</note>
|
||||
@@ -380,6 +377,8 @@
|
||||
<literallayout class='monospaced'>
|
||||
$ cd ~/poky/build
|
||||
$ bitbake-layers add-layer ../../meta-mylayer
|
||||
NOTE: Starting bitbake server ...
|
||||
$
|
||||
</literallayout>
|
||||
</para></listitem>
|
||||
<listitem><para>
|
||||
@@ -484,10 +483,11 @@
|
||||
<note><title>Tip</title>
|
||||
The Yocto Project comes with many tools that simplify
|
||||
tasks you need to perform.
|
||||
One such tool is the <filename>yocto-layer create</filename>
|
||||
script, which simplifies creating a new layer.
|
||||
One such tool is the
|
||||
<filename>bitbake-layers create-layer</filename>
|
||||
command, which simplifies creating a new layer.
|
||||
See the
|
||||
"<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>"
|
||||
"<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>"
|
||||
section in the Yocto Project Development Tasks Manual for
|
||||
information on how to use this script.
|
||||
</note>
|
||||
|
||||
Reference in New Issue
Block a user