Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754487Ab0FHKTp (ORCPT ); Tue, 8 Jun 2010 06:19:45 -0400 Received: from daytona.panasas.com ([67.152.220.89]:59342 "EHLO daytona.int.panasas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754307Ab0FHKTo (ORCPT ); Tue, 8 Jun 2010 06:19:44 -0400 Message-ID: <4C0E193D.6050005@panasas.com> Date: Tue, 08 Jun 2010 13:19:41 +0300 From: Boaz Harrosh User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4 MIME-Version: 1.0 To: David Rientjes CC: Linus Torvalds , Ingo Molnar , Frans Pop , Dirk Hohndel , Len Brown , linux-kernel@vger.kernel.org Subject: Re: kbuild: Fix the breakage caused by "improve version string logic" References: <1254797502.14122.146.camel@dhohndel-mobl.amr.corp.intel.com> <20091006144449.GA23078@elte.hu> <20091006153632.GA29795@elte.hu> <20091006173508.GA4786@elte.hu> <20091012195733.GA7351@elte.hu> <4C0D29DE.6050602@panasas.com> <4C0DFFFF.1010704@panasas.com> <4C0E17F0.5010902@panasas.com> In-Reply-To: <4C0E17F0.5010902@panasas.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Jun 2010 10:19:43.0949 (UTC) FILETIME=[1D0ED7D0:01CB06F4] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1474 Lines: 49 On 06/08/2010 01:14 PM, Boaz Harrosh wrote: > On 06/08/2010 12:13 PM, David Rientjes wrote: >> On Tue, 8 Jun 2010, Boaz Harrosh wrote: >> >>> >>> The patch: 85a256d8e0116c8f5ad276730830f5d4d473344d >>> Author: David Rientjes >>> Title: kbuild: improve version string logic >>> >>> Broke none Linus trees that supply their own version string and >>> tag system via a presence of a localversion* file at the Kernel's >>> root subdirectory. >>> >>> After This patch. The "+" (plus) is not added if a localversion* >>> file is present or a CONFIG_LOCALVERSION is configured. >>> >> >> The only reason the `+' is being appended to your version string is >> because your scm is reporting that there have been commits to the tree >> since the last release; for git, that means anything that isn't at a >> tagged commit. >> > > What is a tagged commit: > > [my_tree] $ git branch > *master > [my_tree] $ git tag v2.6.35-rc2-my-tree OK now I get it I need: $ git tag -a v2.6.35-rc2-my-tree I never used the -a before though no one complained. What else am I missing? Boaz > [my_tree] $ cat localversion-my-tree > -my-tree > > I still get: DEPMOD 2.6.35-rc2-my-tree+ > > How to solve? please specify. > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/