Now HLFS is using kernel headers.

This commit is contained in:
Manuel Canales Esparcia 2006-11-15 19:39:00 +00:00
parent f56e662ebd
commit 62d690d2ec

View file

@ -66,11 +66,11 @@ get_package_tarball_name() { #
tcl) echo $(grep "^tcl" $JHALFSDIR/pkg_tarball_list | head -n1 ) tcl) echo $(grep "^tcl" $JHALFSDIR/pkg_tarball_list | head -n1 )
;; ;;
linux-headers) linux-headers)
if [ "${PROGNAME}" = "lfs" ]; then if [[ "${PROGNAME}" = "lfs" ]] || [[ "${PROGNAME}" = "hlfs" ]] ; then
# Uses kernel headers directly # Uses kernel headers directly
echo $(grep "^linux-[[:digit:]]" $JHALFSDIR/pkg_tarball_list | head -n1 ) echo $(grep "^linux-[[:digit:]]" $JHALFSDIR/pkg_tarball_list | head -n1 )
else else
# CLFS/HLFS use massaged headers package # CLFS{,2,3} use massaged headers package
echo $(grep "^linux-headers-[[:digit:]]" $JHALFSDIR/pkg_tarball_list | head -n1 ) echo $(grep "^linux-headers-[[:digit:]]" $JHALFSDIR/pkg_tarball_list | head -n1 )
fi fi
;; ;;