[bitbake-devel] [PATCH 1/1] cache.py: fix bitbake -s command
Scott Garman
scott.a.garman at intel.com
Thu Jun 9 18:13:06 UTC 2011
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].
Signed-off-by: Scott Garman <scott.a.garman at intel.com>
---
lib/bb/cache.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/bb/cache.py b/lib/bb/cache.py
index a0df93e..d4a16ad 100644
--- a/lib/bb/cache.py
+++ b/lib/bb/cache.py
@@ -179,7 +179,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
def add_cacheData(self, cachedata, fn):
cachedata.task_deps[fn] = self.task_deps
cachedata.pkg_fn[fn] = self.pn
- cachedata.pkg_pn[self].append(fn)
+ cachedata.pkg_pn[self.pn].append(fn)
cachedata.pkg_pepvpr[fn] = (self.pe, self.pv, self.pr)
cachedata.pkg_dp[fn] = self.defaultpref
cachedata.stamp[fn] = self.stamp
--
1.7.4.4
More information about the bitbake-devel
mailing list