Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
27
Star
91
Fork
269
openEuler
/
yocto-meta-openeuler
Code
Issues
21
Pull Requests
13
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
使用6.6内核版本,在yocto中集成module.bbclass的配方编译的KO无法插入内核使用(vermagic出现+号【dirty】)
Backlog
#ICV2C1
Task
fanglinxu
member
Opened this issue
2025-08-27 16:12
使用6.6内核版本,在yocto中集成module.bbclass的配方编译的KO无法插入内核使用(vermagic出现+号【dirty】) 初步怀疑是yocto构建将build目录(STAGING_KERNEL_BUILDDIR)和src目录(STAGING_KERNEL_DIR)进行了分离, 因版内核版本升级,localversion机制发生变更,主要在scmversion部分发生变更,导致yocto中STAGING_KERNEL_BUILDDIR和在STAGING_KERNEL_DIR在处理scmversion的dirty时候发生异常,出现异常+号,导致和原内核编译的Image校验不匹配。 临时规避方法(在内核编译前夕,修改src源码scripts/setlocalversion中scmversion的dirty异常返回+): ``` linux-openeuler.inc 或(linux-${MACHINE}.inc): do_compile:prepend(){ # avoid issue of '+' vermagic of module in-tree of yocto sed -i '/echo "+"/d' ${STAGING_KERNEL_DIR}/scripts/setlocalversion } ```
使用6.6内核版本,在yocto中集成module.bbclass的配方编译的KO无法插入内核使用(vermagic出现+号【dirty】) 初步怀疑是yocto构建将build目录(STAGING_KERNEL_BUILDDIR)和src目录(STAGING_KERNEL_DIR)进行了分离, 因版内核版本升级,localversion机制发生变更,主要在scmversion部分发生变更,导致yocto中STAGING_KERNEL_BUILDDIR和在STAGING_KERNEL_DIR在处理scmversion的dirty时候发生异常,出现异常+号,导致和原内核编译的Image校验不匹配。 临时规避方法(在内核编译前夕,修改src源码scripts/setlocalversion中scmversion的dirty异常返回+): ``` linux-openeuler.inc 或(linux-${MACHINE}.inc): do_compile:prepend(){ # avoid issue of '+' vermagic of module in-tree of yocto sed -i '/echo "+"/d' ${STAGING_KERNEL_DIR}/scripts/setlocalversion } ```
Comments (
1
)
Sign in
to comment
Status
Backlog
Backlog
Doing
Done
Declined
Assignees
Not set
Labels
sig/sig-embedded
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (14)
Tags (7)
master
gitee_pages
openEuler-24.03-LTS
openEuler-25.03
openEuler-24.09
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP4
openEuler-22.03-LTS-SP3
openEuler-23.09
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS
openEuler-23.03
openEuler-22.09
openEuler-21.09
nativesdk-v0.1.3
toolchains-v0.1.8
toolchains-v0.1.7
24.03-lts
llvm-toolchain-v0.1.1
toolchains-v0.1.5
nativesdk-v0.1.2
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
1
https://gitee.com/openeuler/yocto-meta-openeuler.git
git@gitee.com:openeuler/yocto-meta-openeuler.git
openeuler
yocto-meta-openeuler
yocto-meta-openeuler
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register