Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 113465

Summary: New option to prevent removal of portage snapshot files at the end of gnap_make
Product: Gentoo Hosted Projects Reporter: Steve Johnson <maillist>
Component: GNAPAssignee: Gentoo Network Appliance Bugs <gnap>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steve Johnson 2005-11-24 06:06:48 UTC
It would be a nice addition an option would be added to gnap_make in order to  
prevent the removal of the portage snapshot temporary files used by gnap make, 
since it can consist in a very big amount of time of the whole process. This 
would be especially useful when testing new changes, as the gnap_make process 
might need to be rerun many times, and saving the time to create the portage  
snapshot. 

Reproducible: Always
Steps to Reproduce:
1.Use gnap_make 
2. 
3.
Comment 1 Thierry Carrez (RETIRED) gentoo-dev 2005-12-28 05:52:21 UTC
Hello Steve,

You mean the time needed at the "Preparing portage snapshot" step when you use the "-o" option ? If you don't use the "-o" option it should be very quick.

If I get you right, there is an easy workaround : use the portage snapshot that was created the last time... Example :

First run :
gnap_make -t all -o myportageoverlay -v 20051228A

This will take time, and leave a /var/tmp/catalyst/snapshots/portage-20051228A.tar.bz2 file behind.

Second run :
gnap_make -t all -p /var/tmp/catalyst/snapshots/portage-20051228A.tar.bz2 -v 20051228B

This will reuse the already-built snapshot file...

Let me know if that solves it for you.
Comment 2 Thierry Carrez (RETIRED) gentoo-dev 2006-04-15 03:31:27 UTC
Closing as WONTFIX, feel free to reopen if comment #1 doesn't solve it for you