Bug 14347 - Add bitbake-layers layerindex-fetch parameter to choose fetchdir
Summary: Add bitbake-layers layerindex-fetch parameter to choose fetchdir
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 3.3
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 3.4
Assignee: Diego Sueiro
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-04-15 07:09 UTC by Diego Sueiro
Modified: 2021-11-03 06:33 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.