summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cache.py
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-06-09 11:13:06 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-09 22:18:50 +0100
commit73871c27127820e962ef3c04389407de7e7491da (patch)
tree4faca8ce0ccbcc6ab1825aa6a08c35a326bbb5da /bitbake/lib/bb/cache.py
parent4b66ce472871618cfe4761861392b7f9c3c265b0 (diff)
downloadpoky-73871c27127820e962ef3c04389407de7e7491da.tar.gz
cache.py: fix bitbake -s command
This uses the correct index of self.pn when setting up cachedata's pkg_pn, fixing the output of bitbake -s. This fixes bug [YOCTO #1149]. (Bitbake rev: d000493c09ac5c1dcbab22d3a91296a9cb194ac0) Signed-off-by: Scott Garman <scott.a.garman@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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index a0df93eb41..d4a16ad769 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -179,7 +179,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
179 def add_cacheData(self, cachedata, fn): 179 def add_cacheData(self, cachedata, fn):
180 cachedata.task_deps[fn] = self.task_deps 180 cachedata.task_deps[fn] = self.task_deps
181 cachedata.pkg_fn[fn] = self.pn 181 cachedata.pkg_fn[fn] = self.pn
182 cachedata.pkg_pn[self].append(fn) 182 cachedata.pkg_pn[self.pn].append(fn)
183 cachedata.pkg_pepvpr[fn] = (self.pe, self.pv, self.pr) 183 cachedata.pkg_pepvpr[fn] = (self.pe, self.pv, self.pr)
184 cachedata.pkg_dp[fn] = self.defaultpref 184 cachedata.pkg_dp[fn] = self.defaultpref
185 cachedata.stamp[fn] = self.stamp 185 cachedata.stamp[fn] = self.stamp