diff options
author | Paul Barker <paul@pbarker.dev> | 2025-09-24 20:57:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-01 10:52:54 +0100 |
commit | ad8e8fe79c3ab5d35a3f0159130f92947203e9eb (patch) | |
tree | b83e7c3a65db7e50b9684f02b7524b940805ec99 /meta | |
parent | 779d3a6c6080242468dff3fdd58d49218d7447a0 (diff) | |
download | poky-ad8e8fe79c3ab5d35a3f0159130f92947203e9eb.tar.gz |
bitbake-layers/create: Improve help message for layerid argument
'Layer ID' isn't a commonly used term in our help messages or
documentation, so clarify that this is the identifier used for the new
layer in BBFILE_COLLECTIONS.
Also clarify that the default is the basename of the layerdir argument
if a layer ID is not separately provided.
(From OE-Core rev: bb8bd71b1aba31aeb0c1d2fbcae36da26865dc57)
Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/bblayers/create.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/bblayers/create.py b/meta/lib/bblayers/create.py index 517554c587..b38c4b5e38 100644 --- a/meta/lib/bblayers/create.py +++ b/meta/lib/bblayers/create.py | |||
@@ -83,7 +83,7 @@ class CreatePlugin(LayerPlugin): | |||
83 | parser_create_layer = self.add_command(sp, 'create-layer', self.do_create_layer, parserecipes=False) | 83 | parser_create_layer = self.add_command(sp, 'create-layer', self.do_create_layer, parserecipes=False) |
84 | parser_create_layer.add_argument('layerdir', help='Layer directory to create') | 84 | parser_create_layer.add_argument('layerdir', help='Layer directory to create') |
85 | parser_create_layer.add_argument('--add-layer', '-a', action='store_true', help='Add the layer to bblayers.conf after creation') | 85 | parser_create_layer.add_argument('--add-layer', '-a', action='store_true', help='Add the layer to bblayers.conf after creation') |
86 | parser_create_layer.add_argument('--layerid', '-i', help='Layer id to use if different from layername') | 86 | parser_create_layer.add_argument('--layerid', '-i', help='Layer ID to use in BBFILE_COLLECTIONS, if different from the layerdir basename') |
87 | parser_create_layer.add_argument('--priority', '-p', default=6, help='Priority of recipes in layer') | 87 | parser_create_layer.add_argument('--priority', '-p', default=6, help='Priority of recipes in layer') |
88 | parser_create_layer.add_argument('--example-recipe-name', '-e', dest='examplerecipe', default='example', help='Filename of the example recipe') | 88 | parser_create_layer.add_argument('--example-recipe-name', '-e', dest='examplerecipe', default='example', help='Filename of the example recipe') |
89 | parser_create_layer.add_argument('--example-recipe-version', '-v', dest='version', default='0.1', help='Version number for the example recipe') | 89 | parser_create_layer.add_argument('--example-recipe-version', '-v', dest='version', default='0.1', help='Version number for the example recipe') |