diff options
author | 2013-05-10 15:09:36 +0000 | |
---|---|---|
committer | 2013-05-12 08:23:21 +0100 | |
commit | 8b7c65bba466bb6773c56849074978ce2c956129 (patch) | |
tree | c6452d2c68d19dcb8fd532ddaa65e50049f2e090 /lib/bb/cooker.py | |
parent | e01914a8eaa97a410cb5fe9480f2d96bb6553342 (diff) | |
download | bitbake-contrib-8b7c65bba466bb6773c56849074978ce2c956129.tar.gz |
cooker.py: Drop confusing updateCache calls
updateCache() gets called by command.py when needed and needs to be iterated
over. The calls in cooker.py are therefore just plain wrong/confusing now.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r-- | lib/bb/cooker.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index cd3b6e3e9..b717de51e 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -359,9 +359,6 @@ class BBCooker: def showVersions(self): - # Need files parsed - self.updateCache() - pkg_pn = self.status.pkg_pn (latest_versions, preferred_versions) = bb.providers.findProviders(self.configuration.data, self.status, pkg_pn) @@ -396,8 +393,6 @@ class BBCooker: fn = self.matchFile(fn) fn = bb.cache.Cache.realfn2virtual(fn, cls) elif len(pkgs_to_build) == 1: - self.updateCache() - ignore = self.configuration.data.getVar("ASSUME_PROVIDED", True) or "" if pkgs_to_build[0] in set(ignore.split()): bb.fatal("%s is in ASSUME_PROVIDED" % pkgs_to_build[0]) @@ -445,8 +440,7 @@ class BBCooker: Prepare a runqueue and taskdata object for iteration over pkgs_to_build """ bb.event.fire(bb.event.TreeDataPreparationStarted(), self.configuration.data) - # Need files parsed - self.updateCache() + # If we are told to do the None task then query the default task if (task == None): task = self.configuration.cmd @@ -1208,9 +1202,6 @@ class BBCooker: Attempt to build the targets specified """ - # Need files parsed - self.updateCache() - # If we are told to do the NULL task then query the default task if (task == None): task = self.configuration.cmd |