summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-02-02 14:05:27 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-02 16:55:28 +0000
commita95445cf7b2fdb3a3434e04e0d06a748c58fe527 (patch)
treeb112b48b455d3af0d8fdb45c7cc81794dd6a38ec /bitbake/lib/bb/cooker.py
parent8d4d9a15c4947e55ed217c6035e76fcff724e544 (diff)
downloadpoky-a95445cf7b2fdb3a3434e04e0d06a748c58fe527.tar.gz
bitbake: Add description into the cache and clean up cache duplication
With the addition of new cache domains, the summary, license and section information is no longer requred in the core cache since its only used by the hob UI. This patch removes the duplicated entries. It also adds the DESCRIPTION field to the cache for the benefit of hob2. (Bitbake rev: 33ffb2e99825cb643b148b3462c2d4cf33ff5f58) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 7dab38e287..492cf6e3a2 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -455,6 +455,7 @@ class BBCooker:
455 summary = self.status.summary[fn] 455 summary = self.status.summary[fn]
456 lic = self.status.license[fn] 456 lic = self.status.license[fn]
457 section = self.status.section[fn] 457 section = self.status.section[fn]
458 description = self.status.description[fn]
458 if pn not in depend_tree["pn"]: 459 if pn not in depend_tree["pn"]:
459 depend_tree["pn"][pn] = {} 460 depend_tree["pn"][pn] = {}
460 depend_tree["pn"][pn]["filename"] = fn 461 depend_tree["pn"][pn]["filename"] = fn
@@ -462,6 +463,7 @@ class BBCooker:
462 depend_tree["pn"][pn]["summary"] = summary 463 depend_tree["pn"][pn]["summary"] = summary
463 depend_tree["pn"][pn]["license"] = lic 464 depend_tree["pn"][pn]["license"] = lic
464 depend_tree["pn"][pn]["section"] = section 465 depend_tree["pn"][pn]["section"] = section
466 depend_tree["pn"][pn]["description"] = description
465 467
466 if fnid not in seen_fnids: 468 if fnid not in seen_fnids:
467 seen_fnids.append(fnid) 469 seen_fnids.append(fnid)