]> code.ossystems Code Review - openembedded-core.git/commit
devtool: upgrade: provide a means to update the source branch
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 22 Nov 2015 23:22:09 +0000 (12:22 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Dec 2015 21:30:54 +0000 (21:30 +0000)
commite49a66fd898dd44e54c77a838ebef3d983ed2a03
tree59f41664f18d930d4e68102e65c00c70ff1fa83d
parentc4daebf3fe797a8063dcbc2ab229be2fbedc8134
devtool: upgrade: provide a means to update the source branch

If you're upgrading a git recipe to a revision on a release branch
that's different to the branch for the current revision, then you'll
need to update the branch parameter in SRC_URI, so add a --srcbranch/-B
command-line parameter to let you do that easily. It handles both when
the branch is stated verbatim in the recipe, and when a reference to
another variable is used (a common convention is to use a SRCBRANCH
variable for this, though the code doesn't care what variable is used
if any).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/upgrade.py