diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 0f09b5cb63..96166dc515 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -1127,7 +1127,8 @@ class BuildInfoHelper(object): | |||
1127 | abs_file_name = vh['file'] | 1127 | abs_file_name = vh['file'] |
1128 | for pp in path_prefixes: | 1128 | for pp in path_prefixes: |
1129 | if abs_file_name.startswith(pp + "/"): | 1129 | if abs_file_name.startswith(pp + "/"): |
1130 | vh['file']=abs_file_name[len(pp + "/"):] | 1130 | # preserve layer name in relative path |
1131 | vh['file']=abs_file_name[pp.rfind("/")+1:] | ||
1131 | break | 1132 | break |
1132 | 1133 | ||
1133 | # save the variables | 1134 | # save the variables |