dev-manual: Updated layer creation example to use $HOME directory

Best practices dictate that the use not create a layer in the
poky repo.  So, I updated the example to move the user to a
top-level directory first and then create the layer.

(From yocto-docs rev: 81ab8b0f393f90785880aec7685c4c431cb7ad87)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2018-03-23 12:21:18 -07:00
committed by Richard Purdie
parent 6b8a529dbf
commit b77905f131

View File

@@ -1076,9 +1076,10 @@
<literallayout class='monospaced'>
$ bitbake-layers create-layer <replaceable>your_layer_name</replaceable>
</literallayout>
As an example, the following command adds a layer named
<filename>meta-scottrif</filename>:
As an example, the following command creates a layer named
<filename>meta-scottrif</filename> in your home directory:
<literallayout class='monospaced'>
$ cd /usr/home
$ bitbake-layers create-layer meta-scottrif
NOTE: Starting bitbake server...
Add your new layer with 'bitbake-layers add-layer meta-scottrif'