abort/resume package builds could be a bit more controlled

Jeremy Huntwork jhuntwork at linuxfromscratch.org
Sat May 27 11:45:06 PDT 2006


On Sat, May 27, 2006 at 12:42:00PM -0600, Gerard Beekmans wrote:
> Maybe I should save up all my notes for one large email.
> 
> Has any thought been put into being able to restart a package's build 
> where it left off rather than from the beginning?
> 
> The problem with "restart from the beginning" is evident when using 
> 028-binutils-pass1 as an example. It won't work because binutils-build 
> already exists and "make" aborts.
> 
> Restarting 'make' like this should ideally remove the current partial 
> build (binutils-build and binutils-version) directories and start over 
> with unpacking, etc.

All that's required here is adding a little functionality to the
'unpack' code. It can be made so that before any package is started, a
'rm -f pkg-vrs' and, if necessary, a 'rm -f pkg-build' can be run. I'll
look at adding this as well.

--
JH



More information about the alfs-discuss mailing list