Bug 10439 - Cannot generate eSDK if a layer has site.conf setting DL_DIR
Summary: Cannot generate eSDK if a layer has site.conf setting DL_DIR
Status: RESOLVED FIXED
Alias: None
Product: eSDK
Classification: Yocto Project Subprojects
Component: eSDK (show other bugs)
Version: 2.2
Hardware: All Multiple
: Undecided normal
Target Milestone: ---
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-10-14 12:46 UTC by Ross Burton
Modified: 2017-12-06 17:12 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2016-10-14 12:46:44 UTC
I have a meta-ross layer that contains a number of useful classes I've written, is a staging area for new recipes, and also contains a site.conf pointing at my local DL_DIR, assigns proxies, etc.

When creating an eSDK it will generate a new uninative tarball and put it into <outputdir>/downloads/uninative/, as this is where it expects the default DL_DIR to be.  My layer is also in the SDK so that sets DL_DIR to ~ross/Yocto/downloads, which is not the default location.

I'm guessing a simple fix would be to explicitly assign DL_DIR in the generated local.conf instead of expecting the default value is left alone.
Comment 1 Ross Burton 2016-10-14 17:04:52 UTC
Patch sent to the list.  Paul, your opinion on this would be appreciated!
Comment 2 Paul Eggleton 2016-10-18 00:53:20 UTC
Contemplating layers changing DL_DIR makes me feel somewhat ill, but the fix is OK.

Fix merged to master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b2726f75159900f513bc70d3de7a1923ce8f9f2b