repos: remove trailing slash from layer path
In order for oe-core to correctly display the layers and revisions used in a build, the paths used in conf/bblayers.conf must have no trailing path separator. Signed-off-by: Adrian Stratulat <adrian.stratulat91@gmail.com> [Jan: fix overlong line, update test case] Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
committed by
Jan Kiszka
parent
e4be1a20ff
commit
a5c8345ee6
@@ -42,7 +42,7 @@ def test_layers_default(dokas):
|
||||
match = 0
|
||||
with open('build/conf/bblayers.conf', 'r') as f:
|
||||
for line in f:
|
||||
if 'test_layers/kas/' in line:
|
||||
if 'test_layers/kas ' in line:
|
||||
match += 1
|
||||
assert(match == 1)
|
||||
|
||||
|
Reference in New Issue
Block a user