Bug 6559 - Construct the SDK using sstate archives
Summary: Construct the SDK using sstate archives
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.7
Hardware: All Multiple
: Medium+ enhancement
Target Milestone: 1.9 M3
Assignee: Chen Qi
QA Contact: Alexandru Georgescu
URL:
Whiteboard:
: 115 3425 3426 (view as bug list)
Depends on:
Blocks: 5006 6560 6659 6660
  Show dependency tree
 
Reported: 2014-07-21 09:50 UTC by Paul Eggleton
Modified: 2015-10-26 15:36 UTC (History)
8 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 Paul Eggleton 2014-07-21 09:50:59 UTC
The SDK consists of three parts:
(1) The host part (compiler and other tools)
(2) The target part (libs and headers)
(3) Other misc files added at the end (environment setup script, etc.)

Currently, we use the package manager to assemble parts 1 and 2, but not because a package manager is necessarily required - unlike with images the package manager is not used within the SDK itself. We'd like to be able to easily extend/update the SDK after installation, and using the package manager may seem like the logical next step. However, if we take earlier efforts to manage the sysroot in OE as a lesson, where we tried twice to use a package manager without much success and in the end ended up with sstate, the package manager often gets in the way for this kind of thing e.g. by imposing versioning. We have the files written out from the do_populate_sysroot / do_package tasks as they were most recently written out in the form of sstate archives; we can simply extract those to form the SDK.

We can then create a list of the components used to assemble these parts along with their signatures, and place this within the SDK along with the individual sstate manifests (lists of files per component) for use during update.
Comment 1 Richard Purdie 2014-07-25 16:46:58 UTC
*** Bug 3426 has been marked as a duplicate of this bug. ***
Comment 2 Richard Purdie 2014-07-25 16:47:16 UTC
*** Bug 3425 has been marked as a duplicate of this bug. ***
Comment 3 Richard Purdie 2014-07-25 16:48:39 UTC
*** Bug 115 has been marked as a duplicate of this bug. ***
Comment 4 Alexandru Georgescu 2015-10-26 15:36:01 UTC
Hi,
Is there some doc on how to test this functionality?

Thanks,
AlexG