Bug 6560

Summary: Add script to update installed SDK based on sstate manifests
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: devtools / tool chainAssignee: Chen Qi <Qi.Chen>
Status: RESOLVED FIXED QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: enhancement    
Priority: Medium+ CC: alexandru.c.georgescu, meta.mr.watcher, meta.watcher, Qi.Chen
Version: 1.7   
Target Milestone: 1.9 M3   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on: 6559    
Bug Blocks: 5006    

Description Paul Eggleton 2014-07-21 09:56:01 UTC
Following on from bug 6559, create a script to fetch the latest list of components within the SDK from a nominated location, compare the signatures to the current list and then fetch, remove & extract as needed using the sstate manifests to determine which files need to be removed.
Comment 1 Chen Qi 2015-09-15 02:32:04 UTC
Module: openembedded-core.git
Branch: master
Commit: 32cbd4c57fc8ca097a18929fc404c07322ef36dd
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=32cbd4c57fc8ca097a18929fc404c07322ef36dd

Author: Qi.Chen@windriver.com <Qi.Chen@windriver.com>
Date:   Mon Sep  7 13:42:27 2015 +0100

devtool: add mechanism for updating extensible SDK

Enable updating the installed extensible SDK from a local or remote
server, avoiding the need to install it again from scratch when
updating. (This assumes that the updated SDK has been built and then
published somewhere using the oe-publish-sdk script beforehand.)

This plugin is only enabled when devtool is used within the extensible
SDK since it doesn't make sense to use it next to a normal install of
the build system.

E.g.
devtool sdk-update /mnt/sdk-repo/
devtool sdk-update http://mysdkhost/sdk

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>