On 5/23/06, M.Canales.es <[EMAIL PROTECTED]> wrote:

For now the code is able to do the first step for the new approach: to create
LFS-like books from BLFS sources, allowing to create linear build scrips and
Makefiles similars to the current ones for {C,H}LFS.

Very nice, Manuel.

 - To find a way to track already installed packages by previous runs, to can
skipp them when creating the book/scripts/Makefile for a new target.

The very simple solution is a STAMPDIR like gsbuild.  At the end of a
package, `touch $STAMPDIR/$PACKAGE'.  Then, the normal building code
is simply wrapped in an if-else.

if [ ! -f $STAMPDIR/$PACKAGE ]; then
   build_package_function
   touch $STAMPDIR/$PACKAGE
else
   echo "$PACKAGE is already built"
fi

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to