diff options
author | Shane Wang <shane.wang@intel.com> | 2012-02-02 14:05:27 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-02 16:55:28 +0000 |
commit | a95445cf7b2fdb3a3434e04e0d06a748c58fe527 (patch) | |
tree | b112b48b455d3af0d8fdb45c7cc81794dd6a38ec /bitbake/lib/bb/cache.py | |
parent | 8d4d9a15c4947e55ed217c6035e76fcff724e544 (diff) | |
download | poky-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/cache.py')
-rw-r--r-- | bitbake/lib/bb/cache.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 6b7fa6f1a2..99e0f34956 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
@@ -137,9 +137,6 @@ class CoreRecipeInfo(RecipeInfoCommon): | |||
137 | self.rdepends_pkg = self.pkgvar('RDEPENDS', self.packages, metadata) | 137 | self.rdepends_pkg = self.pkgvar('RDEPENDS', self.packages, metadata) |
138 | self.rrecommends_pkg = self.pkgvar('RRECOMMENDS', self.packages, metadata) | 138 | self.rrecommends_pkg = self.pkgvar('RRECOMMENDS', self.packages, metadata) |
139 | self.inherits = self.getvar('__inherit_cache', metadata) | 139 | self.inherits = self.getvar('__inherit_cache', metadata) |
140 | self.summary = self.getvar('SUMMARY', metadata) | ||
141 | self.license = self.getvar('LICENSE', metadata) | ||
142 | self.section = self.getvar('SECTION', metadata) | ||
143 | self.fakerootenv = self.getvar('FAKEROOTENV', metadata) | 140 | self.fakerootenv = self.getvar('FAKEROOTENV', metadata) |
144 | self.fakerootdirs = self.getvar('FAKEROOTDIRS', metadata) | 141 | self.fakerootdirs = self.getvar('FAKEROOTDIRS', metadata) |
145 | self.fakerootnoenv = self.getvar('FAKEROOTNOENV', metadata) | 142 | self.fakerootnoenv = self.getvar('FAKEROOTNOENV', metadata) |
@@ -174,9 +171,6 @@ class CoreRecipeInfo(RecipeInfoCommon): | |||
174 | 171 | ||
175 | cachedata.basetaskhash = {} | 172 | cachedata.basetaskhash = {} |
176 | cachedata.inherits = {} | 173 | cachedata.inherits = {} |
177 | cachedata.summary = {} | ||
178 | cachedata.license = {} | ||
179 | cachedata.section = {} | ||
180 | cachedata.fakerootenv = {} | 174 | cachedata.fakerootenv = {} |
181 | cachedata.fakerootnoenv = {} | 175 | cachedata.fakerootnoenv = {} |
182 | cachedata.fakerootdirs = {} | 176 | cachedata.fakerootdirs = {} |
@@ -240,9 +234,6 @@ class CoreRecipeInfo(RecipeInfoCommon): | |||
240 | cachedata.basetaskhash[identifier] = taskhash | 234 | cachedata.basetaskhash[identifier] = taskhash |
241 | 235 | ||
242 | cachedata.inherits[fn] = self.inherits | 236 | cachedata.inherits[fn] = self.inherits |
243 | cachedata.summary[fn] = self.summary | ||
244 | cachedata.license[fn] = self.license | ||
245 | cachedata.section[fn] = self.section | ||
246 | cachedata.fakerootenv[fn] = self.fakerootenv | 237 | cachedata.fakerootenv[fn] = self.fakerootenv |
247 | cachedata.fakerootnoenv[fn] = self.fakerootnoenv | 238 | cachedata.fakerootnoenv[fn] = self.fakerootnoenv |
248 | cachedata.fakerootdirs[fn] = self.fakerootdirs | 239 | cachedata.fakerootdirs[fn] = self.fakerootdirs |