Bug 4390

Summary: fetcher doesn't expand AUTOINC in linux-yocto git workdir
Product: [Build System, Metadata & Runtime] BitBake Reporter: Darren Hart <dvhart>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided CC: poky.bs.watcher, poky.watcher
Version: 1.4   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Darren Hart 2013-04-23 02:55:48 UTC
At least with the linux-yocto recipes, the workdir is no longer incrementing the gitX part of the directory name, instead replacing it with gitAUTOINC, for example:

3.8.4+gitAUTOINC+2a6d36e75ca0a121570a389d7bab76ec240cbfda_47aed0c17c1c55988198ad39f86ae88894c8e0a4-r4.1

I suspect AUTOINC just stopped getting expanded at some point as I couldn't find an instance where it was used without a $ or ${}.
Comment 1 Richard Purdie 2013-04-23 07:20:44 UTC
This is expected, it only gets expanded in final output, e.g. the packages or deploy data.
Comment 2 Darren Hart 2013-04-23 14:13:19 UTC
In that case, can it be removed from the workdir name? It doesn't add any information and those path names are ridiculously long as it is. Or is that string used for a replacement token later?
Comment 3 Richard Purdie 2013-04-23 14:39:53 UTC
Its used as a replacement token later...