Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1506215 > unrolled thread

[PATCH 2/5] ARM: davinci: Don't append git rev to local version

Started byDavid Lechner <david@lechnology.com>
First post2016-10-21 20:40 +0200
Last post2016-10-26 17:50 +0200
Articles 5 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/5] ARM: davinci: Don't append git rev to local version David Lechner <david@lechnology.com> - 2016-10-21 20:40 +0200
    Re: [PATCH 2/5] ARM: davinci: Don't append git rev to local version Sekhar Nori <nsekhar@ti.com> - 2016-10-24 13:40 +0200
      Re: [PATCH 2/5] ARM: davinci: Don't append git rev to local version David Lechner <david@lechnology.com> - 2016-10-24 17:20 +0200
        Re: [PATCH 2/5] ARM: davinci: Don't append git rev to local version Sekhar Nori <nsekhar@ti.com> - 2016-10-26 13:00 +0200
          Re: [PATCH 2/5] ARM: davinci: Don't append git rev to local version David Lechner <david@lechnology.com> - 2016-10-26 17:50 +0200

#1506215 — [PATCH 2/5] ARM: davinci: Don't append git rev to local version

FromDavid Lechner <david@lechnology.com>
Date2016-10-21 20:40 +0200
Subject[PATCH 2/5] ARM: davinci: Don't append git rev to local version
Message-ID<suMTw-Zb-9@gated-at.bofh.it>
In the davinci default configuration, don't append the git revision to
the local kernel version by. This seems like the more desirable default
value.

Signed-off-by: David Lechner <david@lechnology.com>
---
 arch/arm/configs/davinci_all_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig
index a2f89a3..9254609 100644
--- a/arch/arm/configs/davinci_all_defconfig
+++ b/arch/arm/configs/davinci_all_defconfig
@@ -1,3 +1,4 @@
+# CONFIG_LOCALVERSION_AUTO is not set
 # CONFIG_SWAP is not set
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
-- 
2.7.4

[toc] | [next] | [standalone]


#1507115

FromSekhar Nori <nsekhar@ti.com>
Date2016-10-24 13:40 +0200
Message-ID<svLLI-6ZR-23@gated-at.bofh.it>
In reply to#1506215
On Saturday 22 October 2016 12:06 AM, David Lechner wrote:
> In the davinci default configuration, don't append the git revision to
> the local kernel version by. This seems like the more desirable default
> value.

Why? To the contrary I actually quite like the fact that the git commit
is appended to version string. Makes it easy for me to cross-check that
I am booting the right image.

> 
> Signed-off-by: David Lechner <david@lechnology.com>

Thanks,
Sekhar

[toc] | [prev] | [next] | [standalone]


#1507294

FromDavid Lechner <david@lechnology.com>
Date2016-10-24 17:20 +0200
Message-ID<svPcC-SB-19@gated-at.bofh.it>
In reply to#1507115
On 10/24/2016 06:35 AM, Sekhar Nori wrote:
> On Saturday 22 October 2016 12:06 AM, David Lechner wrote:
>> In the davinci default configuration, don't append the git revision to
>> the local kernel version by. This seems like the more desirable default
>> value.
>
> Why? To the contrary I actually quite like the fact that the git commit
> is appended to version string. Makes it easy for me to cross-check that
> I am booting the right image.
>
>>
>> Signed-off-by: David Lechner <david@lechnology.com>
>
> Thanks,
> Sekhar
>

Each time you make a commit, you get a new version, which installs 
another copy of the kernel modules on the device. This will fill up the 
SD card if you are making many commits.

Also, if someone wants to build the mainline kernel using the default 
configuration, it seems odd to have a git revision tacked on to the end 
even though you made no revisions.

[toc] | [prev] | [next] | [standalone]


#1509051

FromSekhar Nori <nsekhar@ti.com>
Date2016-10-26 13:00 +0200
Message-ID<swu65-2w2-3@gated-at.bofh.it>
In reply to#1507294
On Monday 24 October 2016 08:45 PM, David Lechner wrote:
> On 10/24/2016 06:35 AM, Sekhar Nori wrote:
>> On Saturday 22 October 2016 12:06 AM, David Lechner wrote:
>>> In the davinci default configuration, don't append the git revision to
>>> the local kernel version by. This seems like the more desirable default
>>> value.
>>
>> Why? To the contrary I actually quite like the fact that the git commit
>> is appended to version string. Makes it easy for me to cross-check that
>> I am booting the right image.
>>
>>>
>>> Signed-off-by: David Lechner <david@lechnology.com>
>>
>> Thanks,
>> Sekhar
>>
> 
> Each time you make a commit, you get a new version, which installs
> another copy of the kernel modules on the device. This will fill up the
> SD card if you are making many commits.

Right, but thats easily fixable by removing existing modules before
installing new ones.

> Also, if someone wants to build the mainline kernel using the default
> configuration, it seems odd to have a git revision tacked on to the end
> even though you made no revisions.

If you checkout a tag and build, then no commit information is added.
Which I guess is what most end users will do.

I don't see this done in other defconfigs like omap2plus and multi_v7 as
well. I would like to keep it similar for davinci.

Thanks,
Sekhar

[toc] | [prev] | [next] | [standalone]


#1509542

FromDavid Lechner <david@lechnology.com>
Date2016-10-26 17:50 +0200
Message-ID<swyCJ-5Mj-25@gated-at.bofh.it>
In reply to#1509051
On 10/26/2016 05:54 AM, Sekhar Nori wrote:
> On Monday 24 October 2016 08:45 PM, David Lechner wrote:
>> On 10/24/2016 06:35 AM, Sekhar Nori wrote:
>>> On Saturday 22 October 2016 12:06 AM, David Lechner wrote:
>>>> In the davinci default configuration, don't append the git revision to
>>>> the local kernel version by. This seems like the more desirable default
>>>> value.
>>>
>>> Why? To the contrary I actually quite like the fact that the git commit
>>> is appended to version string. Makes it easy for me to cross-check that
>>> I am booting the right image.
>>>
>>>>
>>>> Signed-off-by: David Lechner <david@lechnology.com>
>>>
>>> Thanks,
>>> Sekhar
>>>
>>
>> Each time you make a commit, you get a new version, which installs
>> another copy of the kernel modules on the device. This will fill up the
>> SD card if you are making many commits.
>
> Right, but thats easily fixable by removing existing modules before
> installing new ones.
>
>> Also, if someone wants to build the mainline kernel using the default
>> configuration, it seems odd to have a git revision tacked on to the end
>> even though you made no revisions.
>
> If you checkout a tag and build, then no commit information is added.
> Which I guess is what most end users will do.
>
> I don't see this done in other defconfigs like omap2plus and multi_v7 as
> well. I would like to keep it similar for davinci.
>
> Thanks,
> Sekhar
>

OK, I will drop this patch.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web