diff options
author | Julien Stephan <jstephan@baylibre.com> | 2023-12-04 16:59:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-06 22:55:49 +0000 |
commit | 86b9510bd3b7d6235fc5f83de66746c7c2dbba82 (patch) | |
tree | c1fcbbaea3f08aa030c506d3a3ceffbced3f18d2 /scripts/lib/recipetool/create_buildsys_python.py | |
parent | 344e10a21b88292f0cfc04b887bfc77117b3d750 (diff) | |
download | poky-86b9510bd3b7d6235fc5f83de66746c7c2dbba82.tar.gz |
recipetool: create: add trailing newlines
create_recipe() function relies on oe.recipeutils.patch_recipe_lines()
which relies on bb.utils.edit_metadata(). edit_metada expect lines to
have trailing newlines, so add it to each lines before calling
patch_recipe_lines, otherwise edit_metadata will not be able to squash
blank line if there are two consecutive blanks after a removal
(From OE-Core rev: 31b27cc76a1b669e2b126c332608fd772c124d69)
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>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys_python.py')
0 files changed, 0 insertions, 0 deletions