PTU5KAS/kas
Konrad Weihmann b250c341fb repos: strip dot from layer name
when importing nested layer in combination with the top level layer like

meta-security
meta-security/meta-tpm

one can use

layers:
    .:
    meta-tpm:

in the spec file to import the parent layer.
This leads to the effect that

.
meta-tpm             = "HEAD:<hash>"

is shown in the build console and in /etc/build
when using image-buildinfo.bbclass.
To fix that just strip the trailing dot from each layer name.

Add test to avoid future regressions

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
[Jan: use only a single rstrip call, fix style]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2021-05-05 15:43:58 +02:00
..
plugins kas: drop bitbakes "-k" from the default args 2021-01-19 18:14:59 +01:00
__init__.py __init__: Better support introspection 2018-12-07 09:56:09 +01:00
__main__.py Correct grammar, spelling and copyright year in files 2018-09-05 12:46:35 +02:00
__version__.py Release 2.4 2021-02-25 19:09:02 +01:00
config.py Add build_system property to config file 2020-11-16 11:53:25 +01:00
configschema.py Add build_system property to config file 2020-11-16 11:53:25 +01:00
context.py Introduce KAS_BUILD_DIR environment variable 2021-03-10 07:53:09 +01:00
includehandler.py kas: support .yaml extension 2020-07-24 18:44:45 +02:00
kas.py Account for removal of aynchio.Tasks.all_tasks 2020-11-13 08:53:33 +01:00
libcmds.py Apply patches before doing an environment setup 2021-03-01 13:58:49 +01:00
libkas.py Silence "Exception ignored when trying to write to the signal wakeup fd" 2020-12-02 12:40:19 +01:00
repos.py repos: strip dot from layer name 2021-05-05 15:43:58 +02:00