]> code.ossystems Code Review - openembedded-core.git/commit
devtool: correctly handle non-standard source tree locations in upgrades
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 14 Jul 2021 12:25:46 +0000 (14:25 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Jul 2021 20:21:13 +0000 (21:21 +0100)
commitfd77e356d4507405fde352c8bba7d3842518bbdd
tree24c377fc06990c0de6a59df90de4f97c96042f54
parent7eac0c1f59442532e39e0ec2ce031d9473925328
devtool: correctly handle non-standard source tree locations in upgrades

When S is set to a sub-directory of upstream source, the license
checks and the bbappend writing (specifically, setting EXTERNALSRC)
need to operate on that sub-directory.

'devtool modify' already has similar logic, and it was copied from there
and adjusted.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/upgrade.py