summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/buildinfohelper.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index 6b6c4f3d9e..7eac734183 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -386,7 +386,11 @@ class BuildInfoHelper(object):
386 target = t.target 386 target = t.target
387 machine = self.internal_state['build'].machine 387 machine = self.internal_state['build'].machine
388 buildname = self.internal_state['build'].build_name 388 buildname = self.internal_state['build'].build_name
389 package = task_object.recipe.name + "-" + task_object.recipe.version.strip(":") 389 pe, pv = task_object.recipe.version.split(":",1)
390 if len(pe) > 0:
391 package = task_object.recipe.name + "-" + pe + "_" + pv
392 else:
393 package = task_object.recipe.name + "-" + pv
390 394
391 build_stats_path.append(build_stats_format.format(tmpdir=self.tmp_dir, target=target, 395 build_stats_path.append(build_stats_format.format(tmpdir=self.tmp_dir, target=target,
392 machine=machine, buildname=buildname, 396 machine=machine, buildname=buildname,