poky/scripts/lib/devtool
Paul Eggleton 44d1a2a45c devtool: sdk-update: improve SDK update process robustness
Make the following improvements to the SDK update process:

* Use a manifest file with sha256sums to track files other than sstate
  and metadata that we need to update - e.g. conf files. This allows us
  to handle where files such as auto.conf may or may not be present,
  as well as the configuration changing without affecting task signatures
  - we still want the config files copied in that case rather than it
  saying nothing needs to be done.
* Write the SSTATE_MIRRORS_append to site.conf rather than local.conf
  so that local.conf remains static (since we don't want to trigger an
  update every time). Also, If there is an SSTATE_MIRRORS value already
  set in the configuration we can skip this and assume it contains the
  needed packages.
* Allow the update process to be run in any directory, don't assume
  we're already at the base of the SDK
* Where practical, fetch remote files into a temporary location and
  then move them to the desired location at the end, to avoid a
  failed update leaving the SDK in a broken state.
* Update all installed do_populate_sysroot / do_packagedata tasks
  instead of using the SDK targets. This ensures any item installed
  through dependencies after installation (e.g. when running
  "devtool build") won't go stale.

(From OE-Core rev: 3d35631121f0e030bc8151f5c23d84008d06f44b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-24 09:40:32 +00:00
..
__init__.py devtool: build: support using BBCLASSEXTENDed names 2016-01-11 15:41:46 +00:00
build-image.py devtool: second fix for running from a different directory 2015-09-24 17:54:24 +01:00
build.py devtool: build: ensure pkgdata is written out 2016-01-24 09:40:32 +00:00
deploy.py devtool: second fix for running from a different directory 2015-09-24 17:54:24 +01:00
package.py devtool: drop unused plugin_init() functions 2015-12-01 21:32:04 +00:00
runqemu.py devtool: runqemu: avoid recipe parse 2015-09-24 17:54:25 +01:00
sdk.py devtool: sdk-update: improve SDK update process robustness 2016-01-24 09:40:32 +00:00
search.py devtool: search: print SUMMARY value 2015-12-01 21:32:04 +00:00
standard.py devtool: reset: support recipes with BBCLASSEXTEND 2016-01-11 15:41:46 +00:00
upgrade.py lib/oe/recipeutils: refactor patch_recipe_file() to use edit_metadata() 2015-12-01 21:32:04 +00:00