[oe-commits] Yu Ke : combo-layer-tool: add tool to manipulate combo layers

git version control git at git.openembedded.org
Fri Jul 8 16:55:09 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 68394476748386e58f40173643967f5a248173b1
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=68394476748386e58f40173643967f5a248173b1

Author: Yu Ke <ke.yu at intel.com>
Date:   Mon Jun 13 20:20:53 2011 +0800

combo-layer-tool: add tool to manipulate combo layers

This patch adds the script "combo-layer" to manipulate combo layer
repos. A combo layer repo is a repo containing multiple component
repos, e.g. oe-core, bitbake, BSP repos. The combo layer repo needs to
be updated by syncing with the component repo upstream. This script
is written to assist the combo layer handling.

The combo layer tool provides three functionalities:
- init: when the combo layer repo and component repo does not exist,
  init will "git init" the combo layer repo, and also "git clone" the
  component repos

- update: combo layer tool will pull the latest commit from component
  repo upstream, and apply the commits since last update commit to the
  combo repo. If the user specifies interactive mode(--interactive),
  they can edit the patch list to select which commits to apply.

- splitpatch: split the combo repo commit into separate patches per
  component repo, to facilitate upstream submission.

Combo layer tool uses a config file to define the component repo info.
Please check the combo-layer.conf.example for a detailed explanation
of the config file fields.

Signed-off-by: Yu Ke <ke.yu at intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>

---

 scripts/combo-layer                 |  366 +++++++++++++++++++++++++++++++++++
 scripts/combo-layer-hook-default.sh |   13 ++
 scripts/combo-layer.conf.example    |   37 ++++
 3 files changed, 416 insertions(+), 0 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=68394476748386e58f40173643967f5a248173b1




More information about the Openembedded-commits mailing list