Pull Request已成功合入, 合并人@openUBMC-robot
(感谢 xuhaijun 的贡献)欢迎来到 openUBMC 社区
Hey @xuhaijun , 感谢你对社区的贡献.
机器人使用手册
有关指令的使用,可以点击 说明文档 或 论坛 查看详情。开发人员可以在每个PR或Issue下方评论特定指令来触发机器人任务。您可以自助配置此仓库的 PR 合并规则,更多详情,请参阅机器人自助配置使用手册。
联系指引
有疑问可以联系 SIG: sig-CICD ,
维护者是: @DataSculptor, @xuhaijun, @zybwh ,
优秀贡献者是: @Larry_Li_006, @Polaris404, @WeberChen, @ZanthoxylumLeaf, @chendanming, @huangjiapei, @loopvoid, @wwhh_wwhh, @zhangbaocun .


关联 Issue 通知
@xuhaijun , 提交的PR需要关联issue,指导链接:https://forum.openubmc.cn/t/topic/208
如果已经关联了issue, 但是needs-issue标签仍然存在,你可以在评论 /check-issue 来移除它。


The pipeline(pipeline number:671) is running. >>> Check Pipeline <<<.Please wait a moment...


/ai review


🤖 本次改动均为数据 / 生成 / 二进制文件(如测试用例、锁文件、媒体资源),没有可审查的代码逻辑,已跳过 AI 代码审查。


AI Declaration Check Failed
@xuhaijun, AI declaration is not compliant. AI tool: Claude Code
Please check:
- The AI tool and model declared in the PR description must be real.
- Commit messages must include the AI model, and it must be consistent with the PR description.
Details: AI Coding Assistants. ⚠️




/check-pr


合入校验失败
@xuhaijun, 当前PR不可合入,原因如下:
标签没满足合入条件
- PR合入需要以下标签 1 lgtm, 但是当前只有0.
- PR合入需要以下标签 1 approved, 但是当前只有0.
标签使用技巧
- lgtm: 合并PR时必要的标签。代码仓管理人员可以通过评论
/lgtm来添加标签。PR创建者可以通过评论/lgtm cancel来删除标签,但无法通过评论/lgtm添加标签。 - approved: 合并PR时必要的标签。代码仓管理人员可以通过评论
/approve来添加标签,通过评论/approve cancel来删除标签。


AI Declaration Check Failed
@xuhaijun, AI declaration is not compliant. AI tool: Claude Code
Please check:
- The AI tool and model declared in the PR description must be real.
- Commit messages must include the AI model, and it must be consistent with the PR description.
Details: AI Coding Assistants. ⚠️


AI Declaration Check Failed
@xuhaijun, AI declaration is not compliant. AI tool: Claude
Please check:
- The AI tool and model declared in the PR description must be real.
- Commit messages must include the AI model, and it must be consistent with the PR description.
Details: AI Coding Assistants. ⚠️


The pipeline(pipeline number:673) is running. >>> Check Pipeline <<<.Please wait a moment...


| 任务名称 | 结果 |
|---|---|
| pre-commit检查 | ✅SUCCESS |
| 防投毒检查 | ✅SUCCESS |
| 开源合规检查 | ✅SUCCESS |
| 编译构建 | ✅SUCCESS |
| 依赖校验 | ✅SUCCESS |
| 修改行数检查 | ✅SUCCESS |




当前PR是否有AI参与:
PR功能描述 / 为什么需要这个合入:
本 PR 从
fix/qemu-rootfs-init分支合并到main,包含 1 个提交,修改 4 个文件。变更类型
修改方案:
问题背景:
QEMU 启动后 eth0 网卡不存在,根本原因是 9p vfs 模块加载时机不当。
具体修改:
优化 insmod_9p_vfs.sh 调用位置
sh /opt/bmc/insmod_9p_vfs.sh从文件末尾移至exec_main调用之前^exec_main$确保在主启动流程执行前先加载 9p vfs 模块exec_main调用行是否存在,避免插入失败注释掉 wait $PRE_DRV_PIDS 行
wait \$PRE_DRV_PIDS是否存在,不存在则报错验证方案:
构建验证
build/works/packet/work_build_qemu_rootfs.py脚本insmod_9p_vfs.sh位于exec_main之前wait \$PRE_DRV_PIDS行已被注释功能验证
测试建议:
自验证报告:
该PR关联的issue
(格式为 fixes #<issue号>, 或者resolves #<issue号>): fixes #
希望检视人员了解:
本 PR 主要是修复 QEMU rootfs 构建中 insmod_9p_vfs.sh 调用位置的问题,确保 9p vfs 模块在主启动流程执行前正确加载,解决 eth0 网卡不可用的问题。