summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-22 01:19:19 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-22 01:19:19 +0000
commit08455b1640613f200973021acae9ad2b15bc1c60 (patch)
tree151d0763944e159aff2c03b7c14e9a70cc1ce874
parent19a35944ac0f7010791fd4d7d03147a679bb6446 (diff)
downloadportage-08455b1640613f200973021acae9ad2b15bc1c60.tar.gz
portage-08455b1640613f200973021acae9ad2b15bc1c60.tar.bz2
portage-08455b1640613f200973021acae9ad2b15bc1c60.zip
For bug #158649, allow --buildpkgonly to bypass the fakedb population like --nodeps does.
svn path=/main/trunk/; revision=5348
-rwxr-xr-xbin/emerge3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index d760377e1..537f3a255 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -877,7 +877,8 @@ class depgraph:
# have after new packages have been installed.
fakedb = portage.fakedbapi(settings=self.pkgsettings[myroot])
self.mydbapi[myroot] = fakedb
- if "--nodeps" not in self.myopts:
+ if "--nodeps" not in self.myopts and \
+ "--buildpkgonly" not in self.myopts:
# --nodeps bypasses this, since it isn't needed in this case
# and the cache pulls might trigger (slow) cache generation.
for pkg in vardb.cpv_all():