diff options
author | Andrei Dinu <andrei.adrianx.dinu@intel.com> | 2013-03-28 10:23:17 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-29 10:41:24 +0000 |
commit | 43a3a4b5da031520421336fe734040cbe448c0fc (patch) | |
tree | 6b51d679eb0e304c2be11c8c224f39470beb308d /bitbake | |
parent | 4a5751f0049e621839ea6b3be8aab260db4e8189 (diff) | |
download | poky-43a3a4b5da031520421336fe734040cbe448c0fc.tar.gz |
bitbake: cache_extra.py : added package information
Added a new variable to cache_extra so that
the files brought in by a package can be
displayed in hob.
(Bitbake rev: 94e2f899457d6565442a933529dd3db261ab12f0)
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cache_extra.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cache_extra.py b/bitbake/lib/bb/cache_extra.py index bf02bb74dd..9e38a439e8 100644 --- a/bitbake/lib/bb/cache_extra.py +++ b/bitbake/lib/bb/cache_extra.py | |||
@@ -44,6 +44,7 @@ class HobRecipeInfo(RecipeInfoCommon): | |||
44 | self.homepage = self.getvar('HOMEPAGE', metadata) | 44 | self.homepage = self.getvar('HOMEPAGE', metadata) |
45 | self.bugtracker = self.getvar('BUGTRACKER', metadata) | 45 | self.bugtracker = self.getvar('BUGTRACKER', metadata) |
46 | self.prevision = self.getvar('PR', metadata) | 46 | self.prevision = self.getvar('PR', metadata) |
47 | self.files_info = self.getvar('FILES_INFO', metadata) | ||
47 | 48 | ||
48 | @classmethod | 49 | @classmethod |
49 | def init_cacheData(cls, cachedata): | 50 | def init_cacheData(cls, cachedata): |
@@ -55,6 +56,7 @@ class HobRecipeInfo(RecipeInfoCommon): | |||
55 | cachedata.homepage = {} | 56 | cachedata.homepage = {} |
56 | cachedata.bugtracker = {} | 57 | cachedata.bugtracker = {} |
57 | cachedata.prevision = {} | 58 | cachedata.prevision = {} |
59 | cachedata.files_info = {} | ||
58 | 60 | ||
59 | def add_cacheData(self, cachedata, fn): | 61 | def add_cacheData(self, cachedata, fn): |
60 | cachedata.summary[fn] = self.summary | 62 | cachedata.summary[fn] = self.summary |
@@ -64,3 +66,4 @@ class HobRecipeInfo(RecipeInfoCommon): | |||
64 | cachedata.homepage[fn] = self.homepage | 66 | cachedata.homepage[fn] = self.homepage |
65 | cachedata.bugtracker[fn] = self.bugtracker | 67 | cachedata.bugtracker[fn] = self.bugtracker |
66 | cachedata.prevision[fn] = self.prevision | 68 | cachedata.prevision[fn] = self.prevision |
69 | cachedata.files_info[fn] = self.files_info | ||