如何使用DevTool修复过时的补丁

发布于 2025-02-07 10:25:37 字数 165 浏览 1 评论 0原文

我正在将一层移植到kirkstone,它是无法再应用的过时的补丁程序(u-boot)。 devtool可以用于修复该补丁吗?问题在于,默认情况下devtool修改应用了补丁程序,因此无法加载工作区。

I'm porting a layer to kirkstone which as an outdated patch which cannot be applied anymore (to u-boot). Can devtool be used to fix that patch? The problem is that per default devtool modify applies the patches and therefore fails to load the workspace.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

绿萝 2025-02-14 10:25:37

如果 DevTool修改 可以用偏移量应用补丁。当DevTool修改无法应用补丁时,更新补丁程序的一种方法是:

  1. 删除不再使用src_uri
  2. Run DevTool修改< coppipe> gt; gt; as
  3. rel =“ nofollow noreferrer
  4. ”代码> devtool饰面<配方> < destination>

当然,如果补丁程序不应用,因为它是在上游集成的,则正确的解决方案就是仅从src_uri中将其删除。

The patch refresh is indeed the best method if devtool modify can apply the patches with an offset. When devtool modify fails to apply the patches, one way to update the patches is:

  1. Remove the patches which no longer apply from SRC_URI
  2. Run devtool modify <recipe> as usual
  3. Port the patches manually and re-commit them
  4. Terminate with devtool finish <recipe> <destination>

Of course, if a patch does not apply because it was integrated upstream, the right solution is to just remove it from SRC_URI.

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