如何在Buildroot中升级到新版本的工具?
我是 Buildroot 新手,我正在尝试弄清楚如何将 genimage 更新到 Buildroot 中的新版本。我目前使用的是 genimage 工具的版本 14,我想更新到版本 15。
谁能告诉我如何升级到 Buildroot 中的工具的新版本?
我在这里找到了升级到版本 15 的 PATCH 文件: genimage 但我不知道如何在 Buildroot 中应用这个补丁文件。
提前致谢。
PS:我使用的是Buildroot 2021.11.2。
I am new to Buildroot and I am trying to figure out how to update genimage
to newer version in Buildroot. I am currently on version 14 and I would like to update to version 15 of genimage
tool.
Can anyone please let me know how to upgrade to newer versions of tools in Buildroot?
I found the PATCH file to bump to version 15 here : genimage
But I am not sure how to apply this Patch file in Buildroot.
Thanks in advance.
P.S: I am using Buildroot 2021.11.2.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
补丁可以简单地使用“patch”工具应用,但是您可能在 git 存储库中有 Buildroot,因此您可以使用 git am 将其添加为 git 提交,或者使用 gitcherry-pick 直接挑选提交。请注意,genimage 15 确实带来了一些非向后兼容的更改。
如果上述内容对您来说听起来很复杂,那么请考虑迁移到包含它的 2022.02 版本。最终的 2022.02 版本将在几天后发布,但您已经可以使用 2022.02-rc3。
Patches can simply be applied with the 'patch' tool, but you probably have Buildroot in a git repo, so you can add it as a git commit with git am or directly cherry pick the commit with git cherry-pick . Do notice that genimage 15 does bring a few non-backwards compatible changes.
If the above sounds complicated to you, then consider just moving to the 2022.02 release which includes it. The final 2022.02 release will be out in a few days, but you can already use 2022.02-rc3.