summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/vartree.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index f93652b37..b8daa3e34 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -4092,6 +4092,14 @@ class dblink(object):
self, mydbapi, myebuild, "clean")
finally:
+
+ # Populate the vardbapi cache for the new package
+ # while its inodes are still hot.
+ try:
+ self.vartree.dbapi.aux_get(self.mycpv, ["EAPI"])
+ except KeyError:
+ pass
+
self.settings.pop('REPLACING_VERSIONS', None)
if self.vartree.dbapi._linkmap is None:
# preserve-libs is entirely disabled