From f29cdba71ac93494ea68fdea89dd5fa755694114 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 26 Oct 2017 09:04:12 -0700 Subject: 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 Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-common.xml | 58 +++++++++++++------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'documentation/kernel-dev') 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 @@ Create a Layer for Patches: You need to create a layer to hold patches created for the kernel image. - You can use the yocto-layer command - as follows: + You can use the + bitbake-layers create-layer + command as follows: - $ 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' + $ 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 - yocto-layer script, see the - "Creating a General Layer Using the yocto-layer Script" + bitbake-layers create-layer + command, see the + "Creating a General Layer Using the bitbake-layers Script" section in the Yocto Project Development Tasks Manual. @@ -155,6 +153,8 @@ $ cd ~/poky/build $ bitbake-layers add-layer ../../meta-mylayer + NOTE: Starting bitbake server... + $ @@ -340,18 +340,14 @@ Create a Layer for Patches: You need to create a layer to hold patches created for the kernel image. - You can use the yocto-layer command - as follows: + You can use the + bitbake-layers create-layer + command as follows: - $ 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' 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 - yocto-layer script, see the - "Creating a General Layer Using the yocto-layer Script" + bitbake-layers create-layer + command, see the + "Creating a General Layer Using the bitbake-layers Script" section in the Yocto Project Development Tasks Manual. @@ -380,6 +377,8 @@ $ cd ~/poky/build $ bitbake-layers add-layer ../../meta-mylayer + NOTE: Starting bitbake server ... + $ @@ -484,10 +483,11 @@ Tip The Yocto Project comes with many tools that simplify tasks you need to perform. - One such tool is the yocto-layer create - script, which simplifies creating a new layer. + One such tool is the + bitbake-layers create-layer + command, which simplifies creating a new layer. See the - "Creating a General Layer Using the yocto-layer Script" + "Creating a General Layer Using the bitbake-layers Script" section in the Yocto Project Development Tasks Manual for information on how to use this script. -- cgit v1.2.3-54-g00ecf