1 |
Add forward-compatibility for cache entries containing md5 digests |
2 |
instead of mtimes for validation. |
3 |
|
4 |
X-Gentoo-Bug: 568934 |
5 |
X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=568934 |
6 |
--- |
7 |
pym/portage/cache/anydbm.py | 3 +++ |
8 |
1 file changed, 3 insertions(+) |
9 |
|
10 |
diff --git a/pym/portage/cache/anydbm.py b/pym/portage/cache/anydbm.py |
11 |
index 1d56b14..80d24e5 100644 |
12 |
--- a/pym/portage/cache/anydbm.py |
13 |
+++ b/pym/portage/cache/anydbm.py |
14 |
@@ -36,6 +36,9 @@ from portage.cache import cache_errors |
15 |
|
16 |
class database(fs_template.FsBased): |
17 |
|
18 |
+ validation_chf = 'mtime' |
19 |
+ chf_types = ('mtime', 'md5') |
20 |
+ |
21 |
autocommits = True |
22 |
cleanse_keys = True |
23 |
serialize_eclasses = False |
24 |
-- |
25 |
2.4.10 |