Correction made to allow CLFS to use kernel headers trac# 1681

This commit is contained in:
George Boudreau 2008-10-15 17:04:20 +00:00
parent cc24cda644
commit 31a37db331

View file

@ -80,11 +80,11 @@ get_package_tarball_name() { #
fi fi
;; ;;
linux-headers) linux-headers)
if [[ "${PROGNAME}" = "lfs" ]] || [[ "${PROGNAME}" = "hlfs" ]] ; then if [[ "${PROGNAME}" = "lfs" ]] || [[ "${PROGNAME}" = "hlfs" ]] || [[ "${PROGNAME}" = "clfs" ]]; 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{,2,3} 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
;; ;;