diff options
author | Marius Mauch <genone@gentoo.org> | 2007-10-15 13:13:11 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2007-10-15 13:13:11 +0000 |
commit | bdae2fe7f2ffaad07eba4249bdd925f32519ae22 (patch) | |
tree | e944a4fee71870cae5738378e297fbffe7a28298 | |
parent | 8363dc2d873fb26a890144e2af6be3907fdc1cdb (diff) | |
download | portage-bdae2fe7f2ffaad07eba4249bdd925f32519ae22.tar.gz portage-bdae2fe7f2ffaad07eba4249bdd925f32519ae22.tar.bz2 portage-bdae2fe7f2ffaad07eba4249bdd925f32519ae22.zip |
remove unused tmpfs variable
svn path=/main/trunk/; revision=8128
-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()) |