]> code.ossystems Code Review - openembedded-core.git/commit
devtool: upgrade: fix several issues with extraction of new source
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 23 Feb 2016 21:14:32 +0000 (10:14 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:36 +0000 (11:32 +0000)
commit4f7595a514661f0e2418393286849a1cb6c46f0d
tree65f6c65e98620c772fcd86cd04884f419fecb1d2
parenta4f3e6d5f4c549e36cce1e18801a565a3a3c9b0a
devtool: upgrade: fix several issues with extraction of new source

Fix several issues when extracting the new version source over the top
of the old one (when the recipe is not fetching from a git repo):

* Delete the old source first so we ensure files deleted in the new
  version are deleted. This also has the side-effect of fixing any
  issues where files aren't marked writeable in the old source and thus
  overwriting them failed (harfbuzz 1.1.3 contains such files).
* Fix incorrect variable name in abspath statement that made it a no-op

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