ebuild(1): allow-missing-manifests for fetch
authorZac Medico <zmedico@gentoo.org>
Thu, 7 Jul 2011 17:20:58 +0000 (10:20 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 7 Jul 2011 17:20:58 +0000 (10:20 -0700)
pym/portage/package/ebuild/doebuild.py

index 267f4aff7cc221be5362718b9ceebfbedeea1cba..28ae459b7c7df43229bb1e32e6729ab5176e8368 100644 (file)
@@ -765,8 +765,11 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
                                fetchme = aalist
                        else:
                                fetchme = alist
+                       allow_missing_manifests = \
+                               "allow-missing-manifests" in mysettings.features
                        if not fetch(fetchme, mysettings, listonly=listonly,
-                               fetchonly=fetchonly):
+                               fetchonly=fetchonly,
+                               allow_missing_digests=allow_missing_manifests):
                                spawn_nofetch(mydbapi, myebuild, settings=mysettings)
                                if listonly:
                                        # The convention for listonly mode is to report