summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-05-26 15:35:38 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-06-13 16:13:14 +1200
commit690406aca531265be05d454e9f8aaded03f563dd (patch)
treef30cb01b16eae3d47dcfdb4d22dc1cf32b666dfe
parent2fdd2c1434e7c741b8048145bd460c68bea7ee53 (diff)
downloadopenembedded-core-contrib-690406aca531265be05d454e9f8aaded03f563dd.tar.gz
openembedded-core-contrib-690406aca531265be05d454e9f8aaded03f563dd.tar.bz2
openembedded-core-contrib-690406aca531265be05d454e9f8aaded03f563dd.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>
-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):
# 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')