[bitbake-devel] devtool hardcodes using 'git' patchtool which causes errors

Adrian Ambrożewicz adrian.ambrozewicz at linux.intel.com
Wed Jan 22 15:49:25 UTC 2020

It looks like git:// fetcher option 'subpath' might be good alternative 
designed to address those kind of issues.

SRC_URI = '[repopath];subpath=project_dir'
S = '${WORKDIR}/project_dir'
works exactly the same as my previous approach when it comes to 'bitbake 
-c patch [project]'

Unfortunately it looks like devtool ignores that param and clones whole 
repository structure. I'll try fiddling around to implement that support 
in devtool.

W dniu 1/22/2020 o 16:10, Alexander Kanavin pisze:
> On Wed, 22 Jan 2020 at 16:06, Adrian Ambrożewicz 
> <adrian.ambrozewicz at linux.intel.com 
> <mailto:adrian.ambrozewicz at linux.intel.com>> wrote:
>     My question is - is there a way to have both of these patchers working
>     with such folder structure? Maybe 'S' overwriting was not a good idea
>     after all?
> I guess the problem here is that S is used for both patching and 
> building, and the 'root' for these may not necessarily match. Maybe 
> there could be a variable that, when set, overrides S for the purpose of 
> patching.
> Alex

More information about the bitbake-devel mailing list