<div dir="ltr"><div>I am not entirely sure about this, but I believe devtool is using git to keep track of patches when modifying or upgrading (e.g. adding, modifying or rebasing custom recipe patches), so using quilt may not be an option. Fixing the scenarios that go wrong for you is probably a better path.</div><div><br></div><div>Alex<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 21 Jan 2020 at 10:44, Adrian Ambrożewicz <<a href="mailto:adrian.ambrozewicz@linux.intel.com">adrian.ambrozewicz@linux.intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In poky sources i can see that default PATCHTOOL used is 'quilt' <br>
(<a href="https://github.com/openembedded/openembedded-core/blob/master/meta/conf/bitbake.conf" rel="noreferrer" target="_blank">https://github.com/openembedded/openembedded-core/blob/master/meta/conf/bitbake.conf</a>) <br>
and it works flawlessly. Devtool however still defaults to legacy 'git' <br>
PATCHTOOL, as specified here:<br>
<a href="http://git.yoctoproject.org/cgit.cgi/poky/plain/scripts/lib/devtool/standard.py" rel="noreferrer" target="_blank">http://git.yoctoproject.org/cgit.cgi/poky/plain/scripts/lib/devtool/standard.py</a><br>
> f.write('PATCHTOOL = "git"\n')<br>
<br>
Request:<br>
I've tried to debug the problem but I'm not very familiar with Bitbake <br>
code, so I wonder if we could default to 'quilt' for devtool as well?<br>
<br>
Rationale:<br>
'git' PATCHER doesn't work well when he have nested WORKDIR and <br>
striplevel used. 'bitbake -c patch [pkg]' works fine, but 'devtool <br>
modify [pkg]' fails with weird behavior. For example - new files created <br>
by patches are created in wrong location (WORKDIR instead of nested <br>
directory) and package doesn't compile until manually fixed.<br>
<br>
Regards,<br>
Adrian<br>
-- <br>
_______________________________________________<br>
bitbake-devel mailing list<br>
<a href="mailto:bitbake-devel@lists.openembedded.org" target="_blank">bitbake-devel@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/bitbake-devel" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/bitbake-devel</a><br>
</blockquote></div>