poky/scripts/lib/devtool
Paul Eggleton 81ebb0b61e devtool: upgrade: fix version argument checking
For recipes that specify SRCREV, the code here wasn't quite doing the
right thing. If the recipe has a SRCREV then that needs changing on
upgrade, so ensure that the user specifies it. If it doesn't, then it'll
be "INVALID" not None since the former is the actual default, so handle
that properly as well. Additionally an unset variable was being
erroneously passed when raising the error about the version being the
same leading to a traceback, so fix that as well.

(From OE-Core rev: 1d0f821371d1cb93e30fad86f0c20e38cb93b54b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:00 +00:00
..
__init__.py devtool: add configure-help subcommand 2016-01-26 18:05:14 +00:00
build-image.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
build.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
deploy.py devtool: deploy-target: preserve existing files 2016-02-21 09:32:43 +00:00
package.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
runqemu.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
sdk.py devtool: sdk-update: tweak command-line handling of updateserver 2016-02-21 09:32:42 +00:00
search.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
standard.py devtool: modify: fix source tree default name when mapping virtuals 2016-02-28 11:33:00 +00:00
upgrade.py devtool: upgrade: fix version argument checking 2016-02-28 11:33:00 +00:00
utilcmds.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00