Author: alexander Date: 2007-03-07 08:16:09 -0700 (Wed, 07 Mar 2007) New Revision: 1823
Modified: trunk/packages/linux/debian-style-headers.sh Log: Update the way to get version from a kernel tree Modified: trunk/packages/linux/debian-style-headers.sh =================================================================== --- trunk/packages/linux/debian-style-headers.sh 2007-03-06 16:50:38 UTC (rev 1822) +++ trunk/packages/linux/debian-style-headers.sh 2007-03-07 15:16:09 UTC (rev 1823) @@ -1,7 +1,7 @@ #!/bin/sh SRCDIR="$1" -KVERSION=`grep UTS_RELEASE "$SRCDIR/include/linux/version.h" | cut -d '"' -f 2` +KVERSION=`grep UTS_RELEASE "$SRCDIR/include/linux/utsrelease.h" | cut -d '"' -f 2` DSTDIR=/usr/src/linux-$KVERSION echo $SRCDIR $DSTDIR -- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
