diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2018-06-28 12:53:41 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-29 11:07:45 +0100 |
commit | 44b1fe43b0e97b1d01b95cd6ce40fbad78e65ab3 (patch) | |
tree | ce88e4936b1de13dd3376c9c79970b18b546dfb3 /meta/recipes-devtools/icon-naming-utils | |
parent | 1dec2101f9603d5340139f24d36c2e9f396eb311 (diff) | |
download | poky-44b1fe43b0e97b1d01b95cd6ce40fbad78e65ab3.tar.gz |
bitbake-bblayers/create: Fix layer name generation
The path to where the layer was being created was taken verbatim as the
name of the layer when generating the layer.conf and README files from
templates. This causes problems in the layer.conf file because it would
result in strangely named variables like
BBFILE_PATTERN_../my-layer = "..."
Instead of blindly taking the path, use the name of the last component
of the path as the layer name.
Additionally, rework the template files to use python format strings
with named parameters so that the same argument doesn't have to be
repeated multiple times.
[YOCTO #12808]
(From OE-Core rev: 01071c5d524a878d9de4814196cba2f15739796e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/icon-naming-utils')
0 files changed, 0 insertions, 0 deletions