Obviously I forget to attach the patch...
diff -ur ruleset.orig/misc/version_vars.mk ruleset/misc/version_vars.mk
--- ruleset.orig/misc/version_vars.mk	2008-08-18 10:04:38.000000000 +0200
+++ ruleset/misc/version_vars.mk	2008-08-18 10:05:10.000000000 +0200
@@ -95,12 +95,6 @@
   ifneq (,$(strip $(HAVE_BAD_VERSION)))
     $(error Error: "$(VERSION)")
   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_ARCH_OS), kfreebsd)
     VERSION        =$(call doit,grep '^REVISION=' conf/newvers.sh |                   \
@@ -152,7 +146,7 @@
                  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)
@@ -163,7 +157,6 @@
  VERSION=[$(VERSION)], PATCHLEVEL=[$(PATCHLEVEL)],                  \
  SUBLEVEL=[$(SUBLEVEL)], EXTRAVERSION=[$(EXTRAVERSION)],            \
  iatv=[$(iatv)], LOCALVERSION=[$(LOCALVERSION)],                    \
- GIT_VERSION=[$(GIT_VERSION)]                                       \
  UTS_RELEASE_VERSION=[$(UTS_RELEASE_VERSION)],                      \
  KERNELRELEASE=[$(KERNELRELEASE)].                                  \
  is not all lowercase. Since the version ends up in the package     \

Reply via email to