Re: [yocto] Best practice: Howto update/modify a patch?
Alexander Kanavin <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <CANNYZj9-2NvrTgdRF-jZpFAFUdg-vA0r-aU4Enr8=nVf0S68wg@mail.gmail.com> |
On Thu, 8 Jan 2026 at 11:37, H. Wulff via lists.yoctoproject.org <[email protected]> wrote: > From time to time I get in the situation to update/modify an existing patch. When I use devtool, the old patches will be applied, and results in an additional patch. The newly created patch modifies the same code area(s) as the old patch(es). OK. > > So, I wonder whether there exists best practice to update/modify an existing patch? You need to run 'git rebase -i' to rearrange/squash patches as needed inside the component's source tree in devtool's workspace. Then 'devtool finish' will figure out what needs to be replaced/modified/removed/added in the layer. Alex