diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2018-06-28 12:53:41 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-28 23:33:55 +0100 |
commit | 01071c5d524a878d9de4814196cba2f15739796e (patch) | |
tree | 064c647cefbce74d7869cedbce5e535e13b53d69 /oe-init-build-env | |
parent | 177f4782e1ffca1eed3c9b102d910239a3dceea4 (diff) | |
download | openembedded-core-contrib-01071c5d524a878d9de4814196cba2f15739796e.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]
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env')
0 files changed, 0 insertions, 0 deletions