diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2018-03-23 12:21:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-24 17:17:41 +0100 |
commit | 086668f40e13504c9d09ef4954823a836c5e8cd2 (patch) | |
tree | 3d144f7c4d76a99746c0fe317e229dc187d8d8f7 /documentation | |
parent | 2f58a2eda14b01f4fcc1207d1b17a25ec8847498 (diff) | |
download | poky-086668f40e13504c9d09ef4954823a836c5e8cd2.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')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 5 |
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' |