diff options
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r-- | bitbake/lib/bb/cache.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index e7eeb4f505..514399269a 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
@@ -107,7 +107,7 @@ class CoreRecipeInfo(RecipeInfoCommon): | |||
107 | 107 | ||
108 | self.pn = self.getvar('PN', metadata) | 108 | self.pn = self.getvar('PN', metadata) |
109 | self.packages = self.listvar('PACKAGES', metadata) | 109 | self.packages = self.listvar('PACKAGES', metadata) |
110 | if not self.pn in self.packages: | 110 | if not self.packages: |
111 | self.packages.append(self.pn) | 111 | self.packages.append(self.pn) |
112 | 112 | ||
113 | self.basetaskhashes = self.taskvar('BB_BASEHASH', self.tasks, metadata) | 113 | self.basetaskhashes = self.taskvar('BB_BASEHASH', self.tasks, metadata) |
@@ -217,7 +217,7 @@ class CoreRecipeInfo(RecipeInfoCommon): | |||
217 | cachedata.packages_dynamic[package].append(fn) | 217 | cachedata.packages_dynamic[package].append(fn) |
218 | 218 | ||
219 | # Build hash of runtime depends and recommends | 219 | # Build hash of runtime depends and recommends |
220 | for package in self.packages + [self.pn]: | 220 | for package in self.packages: |
221 | cachedata.rundeps[fn][package] = list(self.rdepends) + self.rdepends_pkg[package] | 221 | cachedata.rundeps[fn][package] = list(self.rdepends) + self.rdepends_pkg[package] |
222 | cachedata.runrecs[fn][package] = list(self.rrecommends) + self.rrecommends_pkg[package] | 222 | cachedata.runrecs[fn][package] = list(self.rrecommends) + self.rrecommends_pkg[package] |
223 | 223 | ||