]> code.ossystems Code Review - openembedded-core.git/commit
devtool: upgrade: fix updating PV and SRCREV
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 22 Nov 2015 21:14:44 +0000 (10:14 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Dec 2015 21:30:54 +0000 (21:30 +0000)
commit8b8f04226ebf464fa61c05ca7af7c6cbda392339
tree4a96bb23c56007e6762d6c6f2b6f53fd80bd1019
parent65354e066f87df7d3138adceb22d6a05d1685904
devtool: upgrade: fix updating PV and SRCREV

This code was clearly never tested. Fix the following issues:
* Actually set SRCREV if it's been specified
* Enable history tracking and reparse so that we handle if variables are
  set in an inc file next to the recipe
* Use a more accurate check for PV being in the recipe which will work
  if it's in an inc file next to the recipe

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