[Yocto] CONFIG_LOCALVERSION has no effect

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[Yocto] CONFIG_LOCALVERSION has no effect

ソリューションへジャンプ
2,474件の閲覧回数
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,280件の閲覧回数
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,453件の閲覧回数
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,281件の閲覧回数
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 件の賞賛
返信