[Yocto] CONFIG_LOCALVERSION has no effect

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

[Yocto] CONFIG_LOCALVERSION has no effect

跳至解决方案
2,483 次查看
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 项奖励
回复
1 解答
2,289 次查看
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 项奖励
回复
2 回复数
2,462 次查看
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 项奖励
回复
2,290 次查看
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 项奖励
回复