如何在Buildroot中升级到新版本的工具?

发布于 2025-01-11 18:40:34 字数 366 浏览 3 评论 0原文

我是 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

套路撩心 2025-01-18 18:40:34

补丁可以简单地使用“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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文