Ignore:
Timestamp:
10/05/2006 01:07:15 AM (18 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
3d7b6621
Parents:
c93a537
Message:

Handle massaged headers or kernel headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    rc93a537 r64c9caf  
    4545   #
    4646   case $script_name in
    47      tcl)           echo $(grep "^tcl" $JHALFSDIR/pkg_tarball_list | head -n1 ) ;;
    48      linux-headers) echo $(grep "^linux-headers.*.bz2" $JHALFSDIR/pkg_tarball_list | head -n1 ) ;;
    49      *)             echo $(grep "^$script_name-[[:digit:]]" $JHALFSDIR/pkg_tarball_list | head -n1 ) ;;
     47     tcl) echo $(grep "^tcl" $JHALFSDIR/pkg_tarball_list | head -n1 )
     48         ;;
     49     linux-headers)
     50         if [ "${PROGNAME}" = "lfs" ]; then
     51           # Uses kernel headers directly
     52           echo $(grep "^linux-[[:digit:]]" $JHALFSDIR/pkg_tarball_list | head -n1 )
     53         else
     54           # CLFS/CLFS use massaged headers package
     55           echo $(grep "^linux-headers-[[:digit:]]" $JHALFSDIR/pkg_tarball_list | head -n1 )
     56         fi
     57         ;;
     58     *)  echo $(grep "^$script_name-[[:digit:]]" $JHALFSDIR/pkg_tarball_list | head -n1 )
     59         ;;
    5060   esac
    5161
Note: See TracChangeset for help on using the changeset viewer.