diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-07-13 10:05:55 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-07-13 10:05:55 -0700 |
commit | e25079fa0e74d9a19788ffb27d9fc9e67f44e11f (patch) | |
tree | 21cd39a22c873402485821749b71b730267d239d /pym/portage | |
parent | c487a4724d2f113da69fa7997e534ee8fd4d469c (diff) | |
download | portage-e25079fa0e74d9a19788ffb27d9fc9e67f44e11f.tar.gz portage-e25079fa0e74d9a19788ffb27d9fc9e67f44e11f.tar.bz2 portage-e25079fa0e74d9a19788ffb27d9fc9e67f44e11f.zip |
fetch: fix ebuild --skip-manifest behavior
This should fix "Insufficient data for checksum verification" errors
triggered by ebuild --skip-manifest.
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/package/ebuild/fetch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/package/ebuild/fetch.py b/pym/portage/package/ebuild/fetch.py index 658b3eb2b..46d77cf74 100644 --- a/pym/portage/package/ebuild/fetch.py +++ b/pym/portage/package/ebuild/fetch.py @@ -352,6 +352,8 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, mymirrors += [x.rstrip("/") for x in mysettings["GENTOO_MIRRORS"].split() if x] skip_manifest = mysettings.get("EBUILD_SKIP_MANIFEST") == "1" + if skip_manifest: + allow_missing_digests = True pkgdir = mysettings.get("O") if digests is None and not (pkgdir is None or skip_manifest): mydigests = Manifest( |