From: Zac Medico Date: Fri, 1 Oct 2010 14:25:49 +0000 (-0700) Subject: Enable depgraph._load_vdb() with --buildpkgonly. X-Git-Tag: v2.1.9.13~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=050275726f9b760fffe7de882bb84eb364ea8a31;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 7763c3b8c..099020856 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -327,8 +327,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: