Bug #261675 - Also don't call digestgen() from parallel-fetch processes.
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:57:07 +0000 (06:57 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:57:07 +0000 (06:57 -0000)
(trunk r12798)

svn path=/main/branches/2.1.6/; revision=13032

pym/portage/__init__.py

index 6f81318ac5303bf3766599e634dde14bb4d25129..06848450128b2c56c84dbad8d96074ecbc0f6291 100644 (file)
@@ -5999,7 +5999,8 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
                        elif mydo == "digest":
                                return not digestgen(aalist, mysettings, overwrite=1,
                                        myportdb=mydbapi)
-                       elif not emerge_skip_digest and "digest" in mysettings.features:
+                       elif not emerge_skip_digest and not parallel_fetchonly and \
+                               "digest" in mysettings.features:
                                digestgen(aalist, mysettings, overwrite=0, myportdb=mydbapi)
                except portage.exception.PermissionDenied, e:
                        writemsg("!!! Permission Denied: %s\n" % (e,), noiselevel=-1)