]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/package/builddeb
Kbuild: Fix deb-pkg target to work with kernel versions ending with -<text-without...
[linux-2.6-omap-h63xx.git] / scripts / package / builddeb
index 0f657b5f3bc860bf602680d3a22a312371a2a6a1..ba6bf5d5abf9189ea4dcb71c2af31ce9a9b4dfe5 100644 (file)
@@ -13,6 +13,7 @@ set -e
 
 # Some variables and settings used throughout the script
 version=$KERNELRELEASE
+revision=`cat .version`
 tmpdir="$objtree/debian/tmp"
 packagename=linux-$version
 
@@ -65,7 +66,7 @@ done
 name="Kernel Compiler <$(id -nu)@$(hostname -f)>"
 # Generate a simple changelog template
 cat <<EOF > debian/changelog
-linux ($version) unstable; urgency=low
+linux ($version-$revision) unstable; urgency=low
 
   * A standard release