[Yocto] CONFIG_LOCALVERSION has no effect

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[Yocto] CONFIG_LOCALVERSION has no effect

Jump to solution
417 Views
petertseng
Contributor IV

Hi NXP,

I create patches for the kernel (linux-imx_5.15.bbappend), but the kernel versions are shown to be: Linux version 5.15.71

FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://0001-my-released.patch"

KERNEL_VERSION_SANITY_SKIP="1"
KERNEL_DEBUG_TIMESTAMPS = "1"
SCMVERSION = "n"

 

The meta-imx/recipes-kernel/linux/linux-imx_5.15.bb has the option:

LOCALVERSION = "-lts-next"

So I guess the correct kernel version should be: Linux version 5.15.71-lts-next

 

And I check linux-imx/5.15.71+gitAUTOINC+d286e47181-r0/build/.config

The content inside is always:

CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y

 

I tried adding the patch from

https://github.com/Freescale/meta-freescale/commit/e5401e6aebbc15617b4397db6cb5fa103db144bc

However, the display of the kernel version has not changed.

Regards,

 

 

0 Kudos
1 Solution
223 Views
petertseng
Contributor IV

Hi Joanxie,

I have switched to using the LF6.1.22-2.0.0 imx manifest.

This issue has been resolved.

 

Regards,

View solution in original post

0 Kudos
2 Replies
396 Views
joanxie
NXP TechSupport
NXP TechSupport

what result do you need and what you get indeed? pls share more detailed information, pls share the log you get, let me double check it

0 Kudos
224 Views
petertseng
Contributor IV

Hi Joanxie,

I have switched to using the LF6.1.22-2.0.0 imx manifest.

This issue has been resolved.

 

Regards,

0 Kudos