From: Zac Medico Date: Fri, 1 Oct 2010 14:25:49 +0000 (-0700) Subject: Enable depgraph._load_vdb() with --buildpkgonly. X-Git-Tag: v2.2_rc90~64 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fbb32a12a4dc8dcff4370a0e4a64cce111c2ec31;p=portage.git Enable depgraph._load_vdb() with --buildpkgonly. The --buildpkgonly option does not negate the need for _load_vdb(), at least not with the --resume option since otherwise the select_pkg_from_graph() method fails to select installed packages. --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index a533a86b8..c91188e01 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -308,8 +308,7 @@ class depgraph(object): for myroot in self._frozen_config.trees: preload_installed_pkgs = \ - "--nodeps" not in self._frozen_config.myopts and \ - "--buildpkgonly" not in self._frozen_config.myopts + "--nodeps" not in self._frozen_config.myopts fake_vartree = self._frozen_config.trees[myroot]["vartree"] if not fake_vartree.dbapi: