]> code.ossystems Code Review - openembedded-core.git/commit
devtool: upgrade: handle upgrading recipes with a versioned inc file
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 24 May 2016 04:18:50 +0000 (16:18 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 May 2016 06:49:52 +0000 (07:49 +0100)
commit3c623aac9333d20a62475279c72b6b6ec3d7dd6b
tree41297c913132ab213a51ff46881e346df2e25514
parentd6241e4c94a0a72acfc57e96a59918c0b2146d65
devtool: upgrade: handle upgrading recipes with a versioned inc file

The gdb recipe in OE-Core has an inc file with the version in it;
since the inc file is pulled in with a "require ${PV}.inc", when
upgrading the recipe we need to also rename the inc file it will fail to
parse and the upgrade itself will fail.

Fixes [YOCTO #9574].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/upgrade.py