diff options
-rw-r--r-- | cnf/make.conf | 10 | ||||
-rw-r--r-- | pym/portage/dbapi/porttree.py | 8 |
2 files changed, 0 insertions, 18 deletions
diff --git a/cnf/make.conf b/cnf/make.conf index 4a456e3c3..8051aa831 100644 --- a/cnf/make.conf +++ b/cnf/make.conf @@ -235,16 +235,6 @@ # packages. Do not use it unless absolutely necessary! #AUTOCLEAN="yes" # -# PORTAGE_TMPFS is a location where portage may create temporary files. -# If specified, portage will use this directory whenever possible -# for all rapid operations such as lockfiles and transient data. -# It is _highly_ recommended that this be a tmpfs or ramdisk. Do not -# set this to anything that does not give a significant performance -# enhancement and proper FS compliance for locks and read/write. -# /dev/shm is a glibc mandated tmpfs, and should be a reasonable -# setting for all linux kernel+glibc based systems. -#PORTAGE_TMPFS="/dev/shm" -# # FEATURES are settings that affect the functionality of portage. Most of # these settings are for developer use, but some are available to non- # developers as well. diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 6a8e441ca..05fe2a767 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -65,14 +65,6 @@ class portdbapi(dbapi): self.depcachedir = self.mysettings.depcachedir[:] - self.tmpfs = self.mysettings["PORTAGE_TMPFS"] - if self.tmpfs and not os.path.exists(self.tmpfs): - self.tmpfs = None - if self.tmpfs and not os.access(self.tmpfs, os.W_OK): - self.tmpfs = None - if self.tmpfs and not os.access(self.tmpfs, os.R_OK): - self.tmpfs = None - self.eclassdb = eclass_cache.cache(self.porttree_root, overlays=self.mysettings["PORTDIR_OVERLAY"].split()) |