Comment 2 for bug 77649

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote :

Confirmed on Hardy too. The problem is in /usr/share/kernel-package/ruleset/misc/version_vars.mk - we construct a version variable as follows:

version = $(VERSION).$(PATCHLEVEL) $(SUBLEVEL)$(EXTRAVERSION)$(iatv)$(LOCALVERSION)$(GIT_VERSION)

However, $(LOCALVERSION) already includes the contents of $(GITVERSION)

Perhaps conditionally setting $(GITVERSION) based on the value of CONFIG_LOCALVERSION_AUTO would be the solution?