prevent /space/<build> from recreation everytime tinderbuild starts
Oliver Lehmann
lehmann at ans-netz.de
Sat Nov 5 08:39:04 EST 2005
Edwin Groothuis wrote:
> On Sat, Nov 05, 2005 at 08:17:00AM +0100, Oliver Lehmann wrote:
> > Hi,
> >
> > the following idea came to my mind while tinderboxing on an old PII-333
> > with a slow IDE disk, and I'm interested what others think about it:
> >
> > I would like to add a flag to ./tc tinderbuild to prevent /space/<build>
> > from recreation (cleanDirs + tar) in case that flag was given on cmdline.
> > I see two ways to prevent any polution from any previous run:
> > 1) Remove any left-over file when leftovers are detected in portsbuild.
>
> You also have to clean out /work and /var/db/pkg
As I can see, this is already done by portbuilds cleanup()
> Also I would only allow this (...) if there were absolutely no
> changes in the file system compared to before the build (guid/uid
> changes, missing files etc). Leftover files can be removed manually.
But checking this would also create an specific amount of time I would
like to avoid...
--
Oliver Lehmann
http://www.pofo.de/
http://wishlist.ans-netz.de/
More information about the tinderbox-list
mailing list