diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-06-13 16:43:39 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-14 12:56:32 +0100 |
commit | d9f3af6f4e6d3df30b411bbcc3c2b6f7f62c52ad (patch) | |
tree | 81921b59097a1cd2d9bddd17a3e6ec13ac148363 | |
parent | 0a78e2051e6e735e3a47a8d46d150f5e62ba505c (diff) | |
download | openembedded-core-d9f3af6f4e6d3df30b411bbcc3c2b6f7f62c52ad.tar.gz openembedded-core-d9f3af6f4e6d3df30b411bbcc3c2b6f7f62c52ad.tar.bz2 openembedded-core-d9f3af6f4e6d3df30b411bbcc3c2b6f7f62c52ad.zip |
devtool: tweak README in created workspace layer
Clarify slightly the intended usage of the workspace layer.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/devtool | 11 |
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): # Add a README file with open(os.path.join(workspacedir, 'README'), 'w') as f: f.write('This layer was created by the OpenEmbedded devtool utility in order to\n') - f.write('contain recipes and bbappends. In most instances you should use the\n') + f.write('contain recipes and bbappends that are currently being worked on. The idea\n') + f.write('is that the contents is temporary - once you have finished working on a\n') + f.write('recipe you use the appropriate method to move the files you have been\n') + f.write('working on to a proper layer. In most instances you should use the\n') f.write('devtool utility to manage files within it rather than modifying files\n') f.write('directly (although recipes added with "devtool add" will often need\n') f.write('direct modification.)\n') - f.write('\nIf you no longer need to use devtool you can remove the path to this\n') - f.write('workspace layer from your conf/bblayers.conf file (and then delete the\n') - f.write('layer, if you wish).\n') + f.write('\nIf you no longer need to use devtool or the workspace layer\'s contents\n') + f.write('you can remove the path to this workspace layer from your conf/bblayers.conf') + f.write('file (and then delete the layer, if you wish).\n') f.write('\nNote that by default, if devtool fetches and unpacks source code, it\n') f.write('will place it in a subdirectory of a "sources" subdirectory of the\n') f.write('layer. If you prefer it to be elsewhere you can specify the source\n') |