r1823 - trunk/packages/linux

alexander at linuxfromscratch.org alexander at linuxfromscratch.org
Wed Mar 7 07:16:10 PST 2007


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




More information about the livecd mailing list