cache.py: fix bitbake -s command
PATCH 1/1 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 <[email protected]>
--- lib/bb/cache.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
lib/bb/cache.py +1 -1
@@ -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
Signature · 1 line
1.7.4.4
Richard Purdie
AppliedQuoted 9 lines · Scott Garman
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 <[email protected]>--- lib/bb/cache.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Merged to master, good catch thanks!
Richard