summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2018-03-23 12:21:18 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-24 17:16:03 +0100
commitb77905f131b3d20735995b94dbaa61f45a2d23b9 (patch)
tree58a6000b2f1406ae41059b3177f4b19a2bea79e9 /documentation/dev-manual
parent6b8a529dbf8ff3df272bf8531f567666e58458cd (diff)
downloadpoky-b77905f131b3d20735995b94dbaa61f45a2d23b9.tar.gz
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>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 11a7065c4e..b932f8178b 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -1076,9 +1076,10 @@
1076 <literallayout class='monospaced'> 1076 <literallayout class='monospaced'>
1077 $ bitbake-layers create-layer <replaceable>your_layer_name</replaceable> 1077 $ bitbake-layers create-layer <replaceable>your_layer_name</replaceable>
1078 </literallayout> 1078 </literallayout>
1079 As an example, the following command adds a layer named 1079 As an example, the following command creates a layer named
1080 <filename>meta-scottrif</filename>: 1080 <filename>meta-scottrif</filename> in your home directory:
1081 <literallayout class='monospaced'> 1081 <literallayout class='monospaced'>
1082 $ cd /usr/home
1082 $ bitbake-layers create-layer meta-scottrif 1083 $ bitbake-layers create-layer meta-scottrif
1083 NOTE: Starting bitbake server... 1084 NOTE: Starting bitbake server...
1084 Add your new layer with 'bitbake-layers add-layer meta-scottrif' 1085 Add your new layer with 'bitbake-layers add-layer meta-scottrif'