Bug 10000 - Add source code for build appliance image
Summary: Add source code for build appliance image
Status: RESOLVED NOTABUG
Alias: None
Product: Runtime
Classification: Build System, Metadata & Runtime
Component: build-appliance (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Undecided enhancement
Target Milestone: ---
Assignee: Juro Bystricky
QA Contact: Yi Zhao
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-07-22 09:49 UTC by Yi Zhao
Modified: 2016-07-26 22:31 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
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 Yi Zhao 2016-07-22 09:49:50 UTC
Git rev: master/36feb38045b7a2af86ece147fec54b0db3bf491f

Currently the build appliance image doesn't contain the source code in downloads directory. So when build an image in BA, it should fetch the source code first. This will increase the build time. 

In previous BA image (using HOB), the source code is in the BA image. So now it's better to add the source code in BA image also.
Comment 1 Richard Purdie 2016-07-22 13:45:07 UTC
This was made configurable in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=09eab6b992c9ef1885ccfd6740c95b66df7c2809 so was a change to make the BA image more manageable. It can still be turned on if needed.
Comment 2 Juro Bystricky 2016-07-26 22:31:01 UTC
The variable that you need to modify is BA_INCLUDE_SOURCES.
A user specified non-zero value will result in the build appliance image to also contain sources.

By default the sources are not loaded, to keep the Build Appliance image small.