diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-02-22 12:04:53 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:33:00 +0000 |
commit | 81ebb0b61ec092e974926a2bd773848d185bdde0 (patch) | |
tree | 0dbc4e79ca449933d36ce86317b4ae8055d4f768 /scripts/README | |
parent | e953b5711fe5eae53cbb5b4fab1260bf07631f86 (diff) | |
download | poky-81ebb0b61ec092e974926a2bd773848d185bdde0.tar.gz |
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>
Diffstat (limited to 'scripts/README')
0 files changed, 0 insertions, 0 deletions