<div dir="ltr"><div>Hi,</div><div><br></div><div>Firstly I would like to say hello and thanks for devtool app, it&#39;s a killer feature which improves working with temporary sources a lot!</div><div><br></div><div>My question is related to following scenario:</div><div>I use the devtool (from poky 2.0.1) to modify sources for specific package and then to generate patch, the work flow* is:</div><div><br></div><div>$ devtool modify &lt;recipe_name&gt; &lt;ext_srcs_path&gt;</div><div>$ [performing modifications in sources]</div><div>$ git commit -m &quot;&lt;patch_name&gt;&quot;</div><div>$ devtool update-recipe &lt;recipe-name&gt; -m patch -n -a &lt;path_to_layer&gt;</div><div>$ devtool reset</div><div><br></div><div>Let&#39;s assume that during one &#39;modify&#39; session I&#39;ve committed two patches, the output is:</div><div><br></div><div>├── &lt;package&gt;</div><div>│ ├── 0001-first-change.patch</div><div>│ ├── 0002-second-change.patch</div><div>├── <a href="http://recipe_git.bb">recipe_git.bb</a></div><div>└── recipe_git.bbappend</div><div><br></div><div>At this moment everything works as expected.</div><div>Then I push the changes to remote server (code changes to separate upstream and patches to meta-layer repo).</div><div>When I need to add another patch, I start the same procedure:</div><div><br></div><div>$ devtool modify &lt;recipe_name&gt; &lt;ext_srcs_path&gt;</div><div>$ [src changes]</div><div>$ git commit -m &quot;&lt;patch_name&gt;&quot;</div><div>$ devtool update-recipe &lt;recipe-name&gt; -m patch -n -a &lt;path_to_layer&gt;</div><div><br></div><div>The patch is generated and located in the same place as previous patches, bbappend is updated, everything is fine. The only problem is that during this session of &#39;devtool modify&#39;, the patch is named again as 0001-&lt;patch_name&gt;, as a result the output is:</div><div><br></div><div>├── &lt;package&gt;</div><div>│  ├── 0001-first-change.patch</div><div>│  ├── 0002-second-change.patch</div><div>│  ├── 0001-third-change.patch</div><div>├── <a href="http://recipe_git.bb">recipe_git.bb</a></div><div>└── recipe_git.bbappend</div><div><br></div><div>It doesn&#39;t influence the output image, patches are valid, only the version number is confusing.</div><div>How can I avoid that and generate patch with increased version (0003 in this case)?</div><div><br></div><div>* such a work flow is required due to some constraints (organization policy) as I currently don&#39;t have access to repository from which this package is being fetched.</div><div><br></div><div>Best regards,</div><div>Piotr.</div></div>