[Lunar-commits] <lunar-iso> Prevent kernel from appending + to kernel version when detecting a git repo

Stefan Wold ratler at lunar-linux.org
Sun Aug 8 20:31:12 CEST 2010


commit 7a8d4601c9c9d36ccdfc4f84bccffe67593ecf65
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Sun Aug 8 20:31:12 2010 +0200

    Prevent kernel from appending + to kernel version when detecting a git repo
---
 scripts/kernels |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/scripts/kernels b/scripts/kernels
index cfd8b73..358852f 100755
--- a/scripts/kernels
+++ b/scripts/kernels
@@ -32,6 +32,10 @@ prepare()
 		tar jxf $ISO_SOURCE/spool/lunar/ll-$ISO_PVER.tar.bz2 &&
 		cd $ISO_SOURCE/kernels || exit 1
 	fi
+
+	# Disable appended + by kernel scripts/setlocalversion
+	touch $ISO_SOURCE/kernels/linux-$VERSION/.scmversion
+
 	cd $ISO_SOURCE/kernels/linux-$VERSION
 }
 


More information about the Lunar-commits mailing list