clfs 1.x now uses direct kernel headers.

David Csercsics aarg at shaw.ca
Tue Nov 6 22:29:48 PST 2007


I made a tiny adjustment to the jhalfs tool so that it would build the
current CLFS SVN. This, however, will break things for CLFS 1.0 as it
is still using the sanitized headers from the cross-lfs project. Here
is the simple fix if you don't mind that it breaks the stable book build
from SVN JHALFS. I'm sure there's a better fix but I just did a quick hack.

Index: func_wrt_Makefile
===================================================================
--- func_wrt_Makefile	(revision 3512)
+++ func_wrt_Makefile	(working copy)
@@ -80,7 +80,7 @@
          fi
          ;;
      linux-headers)
-         if [[ "${PROGNAME}" = "lfs" ]] || [[ "${PROGNAME}" = "hlfs" ]] ; then
+         if [[ "${PROGNAME}" = "lfs" ]] || [[ "${PROGNAME}" = "hlfs" ]] || [[ "${PROGNAME}" = "clfs" ]] ; then
            # Uses kernel headers directly
            echo $(grep "^linux-[[:digit:]]" $JHALFSDIR/pkg_tarball_list | head -n1 )
          else

 I didn't figure it was worth hitting the attachment button for a one line fix.



More information about the alfs-discuss mailing list