summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/append.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-05-26 11:13:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-18 09:14:06 +0100
commit44e036904c0a66a2c88821f49b4989792775cc4f (patch)
tree21909a367f19f0ddc27cac504a24cd261e2c5093 /scripts/lib/recipetool/append.py
parent07f76656d907a941f1bc18ad37599799b1ff271a (diff)
downloadpoky-44e036904c0a66a2c88821f49b4989792775cc4f.tar.gz
recipetool: appendfile: clarify help text
Add a long description and tweak some of the argument descriptions so that it's clearer what the appendfile subcommand does and how it works. (From OE-Core rev: a0a595307d28d0350c3752293ab8ebf499ee416f) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/append.py')
-rw-r--r--scripts/lib/recipetool/append.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/lib/recipetool/append.py b/scripts/lib/recipetool/append.py
index 39117c1f66..28015c683d 100644
--- a/scripts/lib/recipetool/append.py
+++ b/scripts/lib/recipetool/append.py
@@ -349,12 +349,12 @@ def appendfile(args):
349 349
350def register_command(subparsers): 350def register_command(subparsers):
351 parser_appendfile = subparsers.add_parser('appendfile', 351 parser_appendfile = subparsers.add_parser('appendfile',
352 help='Create a bbappend to replace a file', 352 help='Create/update a bbappend to replace a file',
353 description='') 353 description='Creates a bbappend (or updates an existing one) to replace the specified file that appears in the target system, determining the recipe that packages the file and the required path and name for the bbappend automatically. Note that the ability to determine the recipe packaging a particular file depends upon the recipe\'s do_packagedata task having already run prior to running this command (which it will have when the recipe has been built successfully, which in turn will have happened if one or more of the recipe\'s packages is included in an image that has been built successfully).')
354 parser_appendfile.add_argument('destlayer', help='Destination layer to write the bbappend to') 354 parser_appendfile.add_argument('destlayer', help='Base directory of the destination layer to write the bbappend to')
355 parser_appendfile.add_argument('targetpath', help='Path within the image to the file to be replaced') 355 parser_appendfile.add_argument('targetpath', help='Path to the file to be replaced (as it would appear within the target image, e.g. /etc/motd)')
356 parser_appendfile.add_argument('newfile', help='Custom file to replace it with') 356 parser_appendfile.add_argument('newfile', help='Custom file to replace the target file with')
357 parser_appendfile.add_argument('-r', '--recipe', help='Override recipe to apply to (default is to find which recipe already packages it)') 357 parser_appendfile.add_argument('-r', '--recipe', help='Override recipe to apply to (default is to find which recipe already packages the file)')
358 parser_appendfile.add_argument('-m', '--machine', help='Make bbappend changes specific to a machine only', metavar='MACHINE') 358 parser_appendfile.add_argument('-m', '--machine', help='Make bbappend changes specific to a machine only', metavar='MACHINE')
359 parser_appendfile.add_argument('-w', '--wildcard-version', help='Use wildcard to make the bbappend apply to any recipe version', action='store_true') 359 parser_appendfile.add_argument('-w', '--wildcard-version', help='Use wildcard to make the bbappend apply to any recipe version', action='store_true')
360 parser_appendfile.set_defaults(func=appendfile, parserecipes=True) 360 parser_appendfile.set_defaults(func=appendfile, parserecipes=True)