diff options
author | Scott Garman <scott.a.garman@intel.com> | 2011-06-09 11:13:06 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-09 22:18:16 +0100 |
commit | d000493c09ac5c1dcbab22d3a91296a9cb194ac0 (patch) | |
tree | 1c8b10174b485762e545973dc6659b91c156419f /lib/bb/cache.py | |
parent | a71183762e5d7d9f8153832efb9595e3a21d62f1 (diff) | |
download | bitbake-d000493c09ac5c1dcbab22d3a91296a9cb194ac0.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].
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cache.py')
-rw-r--r-- | 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 a0df93eb4..d4a16ad76 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 |