diff options
Diffstat (limited to 'pym/portage/package/ebuild/digestgen.py')
-rw-r--r-- | pym/portage/package/ebuild/digestgen.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pym/portage/package/ebuild/digestgen.py b/pym/portage/package/ebuild/digestgen.py index d4146dd38..f14368d23 100644 --- a/pym/portage/package/ebuild/digestgen.py +++ b/pym/portage/package/ebuild/digestgen.py @@ -60,6 +60,12 @@ def digestgen(myarchives=None, mysettings=None, myportdb=None): mf = mf.load_manifest(mysettings["O"], mysettings["DISTDIR"], fetchlist_dict=fetchlist_dict) + + if not mf.allow_create: + writemsg_stdout(_(">>> Skipping creating Manifest for %s; " + "repository is configured to not use them\n") % mysettings["O"]) + return 1 + # Don't require all hashes since that can trigger excessive # fetches when sufficient digests already exist. To ease transition # while Manifest 1 is being removed, only require hashes that will |