summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-12-02 14:39:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-10 11:16:13 +0000
commitbb70ade1c38367bfbbaa4863017eff7f88f819c6 (patch)
tree16428fc241d95faa15e510717dcdcb9aaac88f07 /bitbake/lib
parent54d0e30433c249604611367cf387bc20721c4523 (diff)
downloadpoky-bb70ade1c38367bfbbaa4863017eff7f88f819c6.tar.gz
bitbake: toasterui: fix version numbers for no PE specified
PE is an optional field in recipes specifiying the epoch for the recipe. The canonical form for the full recipe version string is: PE:PV-PR If no PE is specified, we shouldn't store the initial ":" character, as it leads to inconsistency with how the version string is used elsewhere. This patch drops the leading ":" [YOCTO #5459] (Bitbake rev: f6031bd753917c459ab232d88d7dcfc3f10e8184) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/buildinfohelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index 0252efdfef..3d5f1c8609 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -531,7 +531,7 @@ class BuildInfoHelper(object):
531 531
532 recipe_info = {} 532 recipe_info = {}
533 recipe_info['name'] = pn 533 recipe_info['name'] = pn
534 recipe_info['version'] = event._depgraph['pn'][pn]['version'] 534 recipe_info['version'] = event._depgraph['pn'][pn]['version'].lstrip(":")
535 recipe_info['layer_version'] = layer_version_obj 535 recipe_info['layer_version'] = layer_version_obj
536 recipe_info['summary'] = event._depgraph['pn'][pn]['summary'] 536 recipe_info['summary'] = event._depgraph['pn'][pn]['summary']
537 recipe_info['license'] = event._depgraph['pn'][pn]['license'] 537 recipe_info['license'] = event._depgraph['pn'][pn]['license']