[oe-commits] Leonardo Sandoval : devtool: add upgrade feature

git at git.openembedded.org git at git.openembedded.org
Wed Sep 9 13:53:11 UTC 2015


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

Author: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
Date:   Tue Sep  8 11:39:09 2015 +0100

devtool: add upgrade feature

Upgrades a recipe to a particular version and downloads the source code
into a folder. User can avoid patching the source code.

These are the general steps of the upgrade function:

   - Extract current recipe source code into srctree and create a branch
   - Extract upgrade recipe source code into srctree and rebase with
     previous branch. In case the rebase is not correctly applied, source
     code will not be deleted, so user correct the patches
   - Creates the new recipe under the workspace

[YOCTO #7642]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../recipes-test/devtool/devtool-upgrade_0.1.bb    |  25 ++
 ...-exit-with-EXIT_SUCCESS-instead-of-a-magi.patch |  27 ++
 .../devtool/files/devtool-upgrade-0.1.tar.gz       | Bin 0 -> 411 bytes
 .../devtool/files/devtool-upgrade-0.2.tar.gz       | Bin 0 -> 411 bytes
 meta/lib/oeqa/selftest/devtool.py                  |  36 +++
 scripts/lib/devtool/standard.py                    |   4 +-
 scripts/lib/devtool/upgrade.py                     | 354 +++++++++++++++++++++
 7 files changed, 445 insertions(+), 1 deletion(-)

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


More information about the Openembedded-commits mailing list