

This sounds great, so that I won't boil my computer overnight! hope it won't save other tmp files except the portage ones, thank you!GentooBox wrote:well, you could use the keepwork and keeptemp features of emerge.
just put in:
FEATURES="keepwork keeptemp"
in make.conf
normally when you emerge something, it will put the files into /var/tmp/portage/<name> and when you stop the merge and restart it, it will delete the /var/tmp/portage/<name> folder and unpack the files from the tar files.
but with keepwork and keeptemp, the files will be there when you restart the merge and it will not compile the "pre"-compiled files unless you changed useflags.
the downside is that the files will take up huge amount of space after a while, so you should delete the folders manually when not needed.
Code: Select all
PORTAGE_TMPDIR=/home emerge -Ov openoffice-ximianCode: Select all
FEATURES="keepwork keeptemp" PORTAGE_TMPDIR=/home emerge -Ov openoffice-ximianCode: Select all
while(true); do mkdir slo slb lib bin class misc obj inc 2>/dev/null; done