Bug 14347

Summary: Add bitbake-layers layerindex-fetch parameter to choose fetchdir
Product: [Build System, Metadata & Runtime] BitBake Reporter: Diego Sueiro <diego.sueiro>
Component: bitbakeAssignee: Diego Sueiro <diego.sueiro>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: poky.bs.watcher, poky.watcher, randy.macleod, ross.burton
Version: 3.3   
Target Milestone: 3.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Diego Sueiro 2021-04-15 07:09:21 UTC
Currently, the fetchdir is picking the BBLAYERS_FETCH_DIR value which points to COREBASE. The directory structure is kind of messy since all layers are checked out under the poky dir.
By adding a parameter to choose the fetchdir location, the user can have a clearer directory structure.
Comment 1 Richard Purdie 2021-04-15 14:30:56 UTC
Do you have a patch in mind for this?
Comment 2 Diego Sueiro 2021-04-15 14:47:05 UTC
Not yet, but I can prepare one in the next few days.
Comment 3 Ross Burton 2021-04-15 14:50:34 UTC
I'm in two minds whether we change the default to COREBASE/../, or add an option to override in fetch, or both.