package: kernel-package
version: 11.001
tags: patch
severity: wishlist

With modern versions of the kernel, the LOCALVERSION field already
contains the special git commit version id tag (i.e., "-g53b50c7").  So
it's superfluous to include it a second time.

Index: kernel-package/ruleset/misc/version_vars.mk
===================================================================
--- kernel-package.orig/ruleset/misc/version_vars.mk
+++ kernel-package/ruleset/misc/version_vars.mk
@@ -97,9 +97,6 @@ ifeq ($(DEB_HOST_GNU_SYSTEM), linux-gnu)
   endif
   ifneq ($(strip $(CONFIG_LOCALVERSION_AUTO)),)
     GIT_VERSION=$(shell /bin/sh scripts/setlocalversion)
-    ifneq ($(strip $(GIT_VERSION)),)
-      GIT_VERSION:=$(GIT_VERSION)-dirty
-    endif
   endif
 else
   ifeq ($(DEB_HOST_GNU_SYSTEM), kfreebsd-gnu)
@@ -152,7 +149,7 @@ UTS_RELEASE_VERSION=$(call doit,if [ -f 
                  else echo "" ;                                                
          \
                  fi)
 
-version = 
$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)$(iatv)$(LOCALVERSION)$(GIT_VERSION)
+version = 
$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)$(iatv)$(LOCALVERSION)
 
 # Bug out if the version number id not all lowercase
 lc_version = $(call doit,echo $(version) | tr A-Z a-z)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to