I've been working on a machine with slow disk (sucky IDE controller actually), but lots of RAM (4GB), and it's been immensely useful to have my portage tmpdir in tmpfs. However then when I reboot, everything in my ccache goes away, as it's in $PORTAGE_TMPDIR/homedir. In that vain, could we have a slight re-arrangement of portage's directories? I'd be perfectly happy if one could configure them in make.conf. portage.py, line 2157: mysettings["BUILD_PREFIX"] = mysettings["PORTAGE_TMPDIR"]+"/portage/build" mysettings["HOME"] = mysettings["PORTAGE_TMPDIR"]+"/portage-homedir" mysettings["PKG_TMPDIR"] = mysettings["PORTAGE_TMPDIR"]+"/portage/pkg" This allows me to mount my tmpfs on $PORTAGE_TMPDIR and have some reasonable speed. I'll do up a full patch to implement this if needed.
CCACHE_DIR doesn't work anymore ?
the comments in make.conf and source I see say that ccache should be in /var/tmp/ccache (or /root/.ccache), but it's still going to /var/tmp/portage/homedir/.ccache as I don't have CCACHE_DIR explictly set.
so it's a docs bugs
userpriv
Created attachment 65564 [details, diff] Add's a ditty about CCACHE DIR and what it defaults to ( in stable anyway ) From what I can gather it is set to PORTAGE_TMPDIR/ccache in both userpriv and normal mode ( although the permissions change between them ).
Hopefully can go into 2.0.54
Removing blocker as this is not a regression nor been fixed in trunk yet (hence is not a candidate for going into stable).
added to trunk
Released in 2.1_pre4