Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: sys-apps/portage/files/portage-2.1.9.45-allow-missing-digests.patch

Issue 6800022: Patch Portage 2.1.9.45 with patches from cros-2.1.9 branch. (Closed) Base URL: http://git.chromium.org/git/chromiumos-overlay.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sys-apps/portage/files/portage-2.1.9.45-atoms.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sys-apps/portage/files/portage-2.1.9.45-allow-missing-digests.patch
diff --git a/sys-apps/portage/files/portage-2.1.9.45-allow-missing-digests.patch b/sys-apps/portage/files/portage-2.1.9.45-allow-missing-digests.patch
new file mode 100644
index 0000000000000000000000000000000000000000..daeeda2fe40c3a6ec3918c0445385c7456945c8a
--- /dev/null
+++ b/sys-apps/portage/files/portage-2.1.9.45-allow-missing-digests.patch
@@ -0,0 +1,34 @@
+commit d720a8cb140878b0c6f70b71e8b8afbd1f8beceb
+Author: David James <davidjames@google.com>
+Date: Wed Jan 26 15:13:25 2011 -0800
+
+ Update Portage to allow missing digests by default.
+
+ This fixes the below error.
+
+ >>> Emerging (1 of 1) sys-apps/portage-2.1.9.35-r1 from chromiumos
+ !!! Fetched file: portage-2.1.9.35.tar.bz2 VERIFY FAILED!
+ !!! Reason: Insufficient data for checksum verification
+ !!! Got:
+ !!! Expected: MD5 RMD160 SHA1 SHA256
+ * Fetch failed for 'sys-apps/portage-2.1.9.35-r1', Log file:
+ * '/var/tmp/portage/sys-apps/portage-2.1.9.35-r1/temp/build.log
+
+ This error started occurring some time between Portage 2.1.9.25 and 2.1.9.35.
+
+ Change-Id: Ie78668d07d4b1dd462b9bd50ef1f54984b1e6ad3
+ (cherry picked from commit 2220c9ec7406c648e1d231754caadae62c92149f)
+
+diff --git a/pym/_emerge/EbuildFetcher.py b/pym/_emerge/EbuildFetcher.py
+index eb27647..cac9c34 100644
+--- a/pym/_emerge/EbuildFetcher.py
++++ b/pym/_emerge/EbuildFetcher.py
+@@ -110,7 +110,7 @@ class EbuildFetcher(SpawnProcess):
+ try:
+ if fetch(self._uri_map, self._settings, fetchonly=self.fetchonly,
+ digests=copy.deepcopy(self._digests),
+- allow_missing_digests=False):
++ allow_missing_digests=True):
+ rval = os.EX_OK
+ except SystemExit:
+ raise
« no previous file with comments | « no previous file | sys-apps/portage/files/portage-2.1.9.45-atoms.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698