Bug 9422 - oe-init-build-env: read SSTATE_DIR and DL_DIR from env var
Summary: oe-init-build-env: read SSTATE_DIR and DL_DIR from env var
Status: RESOLVED DUPLICATE of bug 7837
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 2.2 M2
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-04-08 01:16 UTC by Robert Yang
Modified: 2016-04-14 14:40 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2016-04-08 01:16:42 UTC
Everytime when I want to do a fresh build, I did:

$ . /path/to/oe-init-build-env <builddir>
Edit SSTATE_DIR and DL_DIR in conf/local.conf

The most edit I do is SSTATE_DIR, DL_DIR and MACHINE, I guess that not only me did this, it would help a lot if oe-init-build-env can read SSTATE_DIR and DL_DIR from env vars and write in conf/local.conf. Another way is use BB_ENV_EXTRAWHITE, but I think that it is not straightforward enough, and write in conf/local.conf is more easier for debugging
Comment 1 Richard Purdie 2016-04-14 14:40:40 UTC
We should use a site.conf (e.g. in $HOME) to solve this kind of issue.

*** This bug has been marked as a duplicate of bug 7837 ***