Skip to contentSkip to conversation

Kernel Image name

PATCH In review Diego 3 participants 8 messages Mar 26, 2014

lore
Share & tools
lore

Diego

author
#0 lore raw

Hi everybody,

is anybody else getting working but oddly named kernel images with repeated "3.10.17"?

In particulare i'm seeing:

$ mkimage -l uImage
Image Name:   Linux-3.10.173.10.17_beta+yocto+

and modules named:
"/lib/modules/3.10.173.10.17_beta+yocto+g..."

I'm using Boundary Nitrogen6x.

Bests,
Diego

#1 lore raw
Quoted 5 lines · Diego

Hi everybody,

is anybody else getting working but oddly named kernel images with repeated "3.10.17"?

Quoted 8 lines

In particulare i'm seeing:

$ mkimage -l uImage
Image Name:   Linux-3.10.173.10.17_beta+yocto+

and modules named:
"/lib/modules/3.10.173.10.17_beta+yocto+g..."

I'm using Boundary Nitrogen6x.

I didn't test it recently but Eric does quite often. Eric, did you see it?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#2 lore raw

Hi Otavio and Diego,

Quoted 10 lines · Otavio Salvador
Quoted 9 lines · Diego

Hi everybody,

is anybody else getting working but oddly named kernel images with repeated "3.10.17"?

In particulare i'm seeing:

$ mkimage -l uImage
Image Name:   Linux-3.10.173.10.17_beta+yocto+
Quoted 7 lines
Quoted 4 lines

and modules named:
"/lib/modules/3.10.173.10.17_beta+yocto+g..."

I'm using Boundary Nitrogen6x.

I didn't test it recently but Eric does quite often. Eric, did you see it?

I hadn't noticed it, but I see where it's coming from:

The LOCALVERSION tag here:

	http://github.com/Freescale/meta-fsl-arm-extra/blob/master/recipes-kernel/linux/linux-boundary_3.10.17.bb#L12

Looks like it should start with a separator, and not contain the kernel version:
http://github.com/Freescale/meta-fsl-arm-extra/blob/master/recipes-kernel/linux/linux-boundary_3.0.35.bb#L12

I think the proper value for that variable is this:

	LOCALVERSION = "-1.0.0_beta+yocto"

I'll send a patch shortly.

Regards,

Eric

#3 lore raw

PATCH 1/1 linux-boundary: remove redundant version tag from 3.10.17 kernel

In reply to Otavio Salvador
---
 recipes-kernel/linux/linux-boundary_3.10.17.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-boundary_3.10.17.bb +1 -1
index 3f0681a..1fc7901 100644
@@ -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"
 
Signature · 1 line
1.8.3.2
#4 lore raw

Re: [PATCH] linux-boundary: remove redundant version tag from 3.10.17 kernel

This is missing proper headers.

Please ignore.

Quoted 19 lines · Eric Nelson
---
  recipes-kernel/linux/linux-boundary_3.10.17.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-boundary_3.10.17.bb +1 -1
index 3f0681a..1fc7901 100644
@@ -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"
 
#5 lore raw

PATCH 1/1 linux-boundary: remove version number from 3.10.17 kernel

In reply to Otavio Salvador

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
---
 recipes-kernel/linux/linux-boundary_3.10.17.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-boundary_3.10.17.bb +1 -1
index 3f0681a..1fc7901 100644
@@ -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"
 
Signature · 1 line
1.8.3.2
#6 lore raw

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

Quoted 9 lines · Eric Nelson

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

I applied it :)

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#7 lore raw

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

Quoted 11 lines · Otavio Salvador
Quoted 9 lines · Eric Nelson

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

Thanks Otavio (and sorry Diego).

Just another N00b mistake!