Patchwork [meta-fsl-arm-extra] linux-boundary: remove version number from 3.10.17 kernel

login
register
mail settings
Submitter Eric Nelson
Date March 26, 2014, 2:44 p.m.
Message ID <1395845061-6507-1-git-send-email-eric.nelson@boundarydevices.com>
Download mbox | patch
Permalink /patch/69303/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Eric Nelson - March 26, 2014, 2:44 p.m.
The 3.10.17 version is added automatically by the build process,
so it's not needed in LOCALVERSION.

As Diego reported, without this patch, 'uname -r' and kernel modules 
are oddly-named:
        /lib/modules/3.10.173.10.17_beta+yocto

Reported-by: Diego <diego.ml@zoho.com>
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 recipes-kernel/linux/linux-boundary_3.10.17.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Otavio Salvador - March 26, 2014, 3:01 p.m.
On Wed, Mar 26, 2014 at 11:44 AM, Eric Nelson
<eric.nelson@boundarydevices.com> wrote:
> The 3.10.17 version is added automatically by the build process,
> so it's not needed in LOCALVERSION.
>
> As Diego reported, without this patch, 'uname -r' and kernel modules
> are oddly-named:
>         /lib/modules/3.10.173.10.17_beta+yocto
>
> Reported-by: Diego <diego.ml@zoho.com>
> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>

I applied it :)
Eric Nelson - March 26, 2014, 3:08 p.m.
On 03/26/2014 08:01 AM, Otavio Salvador wrote:
> On Wed, Mar 26, 2014 at 11:44 AM, Eric Nelson
> <eric.nelson@boundarydevices.com> wrote:
>> The 3.10.17 version is added automatically by the build process,
>> so it's not needed in LOCALVERSION.
>>
>> As Diego reported, without this patch, 'uname -r' and kernel modules
>> are oddly-named:
>>          /lib/modules/3.10.173.10.17_beta+yocto
>>
>> Reported-by: Diego <diego.ml@zoho.com>
>> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>

Thanks Otavio (and sorry Diego).

Just another N00b mistake!

Patch

diff --git a/recipes-kernel/linux/linux-boundary_3.10.17.bb b/recipes-kernel/linux/linux-boundary_3.10.17.bb
index 3f0681a..1fc7901 100644
--- a/recipes-kernel/linux/linux-boundary_3.10.17.bb
+++ b/recipes-kernel/linux/linux-boundary_3.10.17.bb
@@ -9,7 +9,7 @@  DESCRIPTION = "Linux kernel for Boundary Devices boards"
 SRC_URI = "git://github.com/boundarydevices/linux-imx6.git;branch=${SRCBRANCH} \
            file://defconfig"
 
-LOCALVERSION = "3.10.17_beta+yocto"
+LOCALVERSION = "-1.0.0_beta+yocto"
 SRCBRANCH = "boundary-imx_3.10.17_1.0.0_beta"
 SRCREV = "92608435c09eef1b111d6b704d016bcc769c55ca"