On 06/20/16 22:58, Hogren wrote:



Hello !!

I have a little question about portage.

There are many big softwares like Firefox, LibreOffice. At a certain
moment, I need to stop the compilation to halt the PC.

But, when I boot up again the PC and I «emerge --resume», it restart the
compilation process.

Is there a way to not restart the compilation process ?
I think that if I enter in the temp directory and I type «make && make
install», it will install the software but it will not update portage
database.


Thank you for your response !

Bye


Hogren

Hogren,
What I do may be of help, but then again, it may be all wrong and one day the gates of hell may open up and swallow mankind because of what I did, but hey, that's life.

There is the FEATURES entry in make.conf, man make.conf. Within this are two options "keeptemp" and "keepwork". I enable them, then the consequences of which is that stuff is not cleaned up. Hence when I rerun the emerge, the "make" within sees the already existing files and skips them, in other words it does as "make" is expected to do.

Please bear in mind if you have /var/tmp/portage set up to be a RAM disk of some sort, obviously if you turn your machine off, you'll look the intermediate files, but if you are hard disk based, they will be there when you restart the machine and so when you rerun emerge, the part up until when you killed the emerge originally will be skipped.

        Hope this helps,
                Andrew

Reply via email to