summaryrefslogtreecommitdiffstats
path: root/scripts/devtool
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-06-13 16:43:39 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 08:35:01 +0100
commitdd6d61ae5d266f6093dd722611248328991441a6 (patch)
treec42c9c70e9fc0c8f24ab101650f4177f0a67628e /scripts/devtool
parenta0006fd49dea95c02ef00ac2fb076f33d456ddb1 (diff)
downloadpoky-dd6d61ae5d266f6093dd722611248328991441a6.tar.gz
devtool: tweak README in created workspace layer
Clarify slightly the intended usage of the workspace layer. (From OE-Core rev: d9f3af6f4e6d3df30b411bbcc3c2b6f7f62c52ad) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/devtool')
-rwxr-xr-xscripts/devtool11
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/devtool b/scripts/devtool
index ff368dc2ae..63d2ef9053 100755
--- a/scripts/devtool
+++ b/scripts/devtool
@@ -179,13 +179,16 @@ def _create_workspace(workspacedir, config, basepath):
179 # Add a README file 179 # Add a README file
180 with open(os.path.join(workspacedir, 'README'), 'w') as f: 180 with open(os.path.join(workspacedir, 'README'), 'w') as f:
181 f.write('This layer was created by the OpenEmbedded devtool utility in order to\n') 181 f.write('This layer was created by the OpenEmbedded devtool utility in order to\n')
182 f.write('contain recipes and bbappends. In most instances you should use the\n') 182 f.write('contain recipes and bbappends that are currently being worked on. The idea\n')
183 f.write('is that the contents is temporary - once you have finished working on a\n')
184 f.write('recipe you use the appropriate method to move the files you have been\n')
185 f.write('working on to a proper layer. In most instances you should use the\n')
183 f.write('devtool utility to manage files within it rather than modifying files\n') 186 f.write('devtool utility to manage files within it rather than modifying files\n')
184 f.write('directly (although recipes added with "devtool add" will often need\n') 187 f.write('directly (although recipes added with "devtool add" will often need\n')
185 f.write('direct modification.)\n') 188 f.write('direct modification.)\n')
186 f.write('\nIf you no longer need to use devtool you can remove the path to this\n') 189 f.write('\nIf you no longer need to use devtool or the workspace layer\'s contents\n')
187 f.write('workspace layer from your conf/bblayers.conf file (and then delete the\n') 190 f.write('you can remove the path to this workspace layer from your conf/bblayers.conf')
188 f.write('layer, if you wish).\n') 191 f.write('file (and then delete the layer, if you wish).\n')
189 f.write('\nNote that by default, if devtool fetches and unpacks source code, it\n') 192 f.write('\nNote that by default, if devtool fetches and unpacks source code, it\n')
190 f.write('will place it in a subdirectory of a "sources" subdirectory of the\n') 193 f.write('will place it in a subdirectory of a "sources" subdirectory of the\n')
191 f.write('layer. If you prefer it to be elsewhere you can specify the source\n') 194 f.write('layer. If you prefer it to be elsewhere you can specify the source\n')