1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00

recipeutils: bbappend_recipe: fix docstring

Add missing patchdir key in docstring description for srcfiles
parameters.

Also fix typo: value --> key in srcfile docstring description

(From OE-Core rev: 302dccaef46418d0e0731870a882b54a525739ed)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Julien Stephan
2023-12-05 15:56:29 +01:00
committed by Richard Purdie
parent eb0b664c8c
commit b45cab4e1c
+5 -3
View File
@@ -671,10 +671,12 @@ def bbappend_recipe(rd, destlayerdir, srcfiles, install=None, wildcardver=False,
rd: data dictionary for the recipe rd: data dictionary for the recipe
destlayerdir: base directory of the layer to place the bbappend in destlayerdir: base directory of the layer to place the bbappend in
(subdirectory path from there will be determined automatically) (subdirectory path from there will be determined automatically)
srcfiles: dict of source files to add to SRC_URI, where the value srcfiles: dict of source files to add to SRC_URI, where the key
is the full path to the file to be added, and the value is a is the full path to the file to be added, and the value is a
dict with 'path' key containing the original filename as it dict with following optional keys:
would appear in SRC_URI or None if it isn't already present. path: the original filename as it would appear in SRC_URI
or None if it isn't already present.
patchdir: the patchdir parameter
You may pass None for this parameter if you simply want to specify You may pass None for this parameter if you simply want to specify
your own content via the extralines parameter. your own content via the extralines parameter.
install: dict mapping entries in srcfiles to a tuple of two elements: install: dict mapping entries in srcfiles to a tuple of two elements: