Correction made to allow CLFS to use kernel headers trac# 1681
This commit is contained in:
parent
cc24cda644
commit
31a37db331
1 changed files with 2 additions and 2 deletions
|
@ -80,11 +80,11 @@ get_package_tarball_name() { #
|
|||
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
|
||||
# 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 )
|
||||
fi
|
||||
;;
|
||||
|
|
Reference in a new issue