【环境信息】
软件信息:
1) OS版本及分支:openEuler-22.03-LTS-SP1
2) 内核信息:5.10.0-126.0.0.66.oe2203sp1.aarch64
3) 发现问题的组件版本信息:openEuler-latest-release-1.0-166903434222.03.oe2203sp1.aarch64
如果有特殊组网,请提供网络拓扑图
【问题复现步骤】
cat /etc/openEuler-latest
出现概率(必现)
【预期结果】
显示正确的版本号,与实际构建iso的版本相同
【实际结果】
openeulerversion=openEuler-22.03-LTS-Next
compiletime=2022-11-21-20-39-02
gccversion=10.3.1
10.3.1-16.oe2203sp1
16.oe2203sp1
kernelversion=5.10.0
5.10.0-126.0.0.66.oe2203sp1
126.0.0.66.oe2203sp1
openjdkversion=1.8.0.352.b08-3.oe2203
【附件信息】
Hi ga_beng_cui, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Others, and any of the maintainers: @small_leek , @jimmy_hero , @mdche
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
定位原因:经定位分析,(1)/etc/os-release文件由openEuler-release软件包提供,查看制作镜像的repo源,发现openEuler-release没有55版本的二进制包;(2)/etc/openEuler-latest文件由openEuler-latest-release软件包提供,在构建镜像前该包中的文件未更新导致openeulerverison字段错误。
解决方案:使用openEuler-release最新55版本的代码进行编译后发布到repo源中,并重新构建openEuler-latest-release软件包后发布到repo源中,重新制作镜像即可解决该问题。
自验证OK:
使用最新版本已验收,无此问题
登录 后才可以发表评论