[yocto] devtool finish & patch order

Alexander Kanavin alex.kanavin at gmail.com
Thu Jun 14 00:07:02 PDT 2018


2018-06-14 7:02 GMT+03:00 Tim Hammer <tdhammer99 at gmail.com>:
>
> My changes for U-Boot are not working as expected. I am wondering- did I use
> devtool incorrectly?
>
> I used 'devtool modify' to create a working copy of the vendor's u-boot and
> copied & modified files to add support for my custom board. I did my work in
> 3 distinct and commitable steps, resulting in 3 patch files in my layer when
> I ran 'devtool finish'.
>
> When I pulled the changes into another clone for validation, it appears to
> be applying patches in reverse order! It is attempting to apply patch 003
> but cannot find the file to modify. That file was created in patch 001. None
> of the files created in patch 001 are in my working directory.
>
> I reversed the order of the patch files in the .bbappend file and it worked
> fine.
>
> Do I need to use the tool differently to get the patches correctly applied?

Devtool should add newly added patches to the recipe in the same order
as the commits you created in workdir repo. If that is not the case,
please provide the steps that reproduce the issue.

Alex


More information about the yocto mailing list