Gerard Beekmans wrote:
George Boudreau wrote:
then this method will fail. The books do not keep any directories
hanging around between passes or phases do they?
Not anymore at the moment.
But, it has happened before. The need for it may come again. I would
prepare for this and allow an override to be added to a package so the
function does not delete anything when it is called.
If it's developed now, you're all set for the future. It shouldn't be
hard to do so. You can go as far as create a file somewhere and if it
exists, don't delete the dir.
The file would have to be called something like dontdelete-packagedir.
Modified the wrt_unpack routines to accept a flag-- optSAVE_PREVIOUS.
If a value is passed and it is '1' then the deletion routine will not
be included in the makefile for that package. Existing 'master.sh' code
does not need to be touched as the default action is to delete any
existing package directories. (your requested action)
G
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page