lkml.org 
[lkml]   [2005]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: BK snapshots removed from kernel.org?
On Wed, Mar 30, 2005 at 11:17:42PM -0500, Jeff Garzik wrote:
>
> Should hopefully just be changing get-version.pl ...

Nah, this simple patch to snapshot fixes it.

I've also generated the 2.6.12-rc1-bk3 snapshot and fixed up the
directory on kernel.org so it should now work properly if you apply the
patch.

Sorry about this issue, I never thought that tags in the bk tree would
cause such a mess...

thanks,

greg k-h

--------------

--- snapshot.orig 2005-03-30 21:44:16.869023655 -0800
+++ snapshot 2005-03-30 21:45:30.410153125 -0800
@@ -39,9 +39,12 @@
#
# discover most recent kernel version
#
-tmptagver=`bk changes | grep 'TAG: v' | head -1 | awk '{print $2}'`
-kmicro=`echo $tmptagver | $getver -m`
-kextra=`echo $tmptagver | $getver -e`
+bk get -q Makefile
+for TAG in SUBLEVEL EXTRAVERSION ; do
+ eval `sed -ne "/^$TAG/s/ //gp" Makefile`
+done
+kmicro="$SUBLEVEL"
+kextra="$EXTRAVERSION"
kversion="$kmajor.$kminor.$kmicro$kextra"
snapdir="$snapbase" # /$kversion
echo "found kernel version $kversion" >> $log
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-04-06 13:31    [from the cache]
©2003-2011 Jasper Spaans