M.Canales.es wrote:
El Martes, 23 de Mayo de 2006 22:02, Dan Nicholson escribió:

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

Yes, that is simple and was my first idea. I would to can skip them in the newer generated books, adding in the dependencies blocks an "(already installed on your system)" near the package name.
  A suggestion:
Should $STAMPDIR be /var/lib/blfs-data The repository for the installed package data should be located out of harms way and accidental deletion (voice of experience speaking)
That could be very nice ;-)

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

Reply via email to