]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Sat, 31 Jul 2021 09:56:12 +0000 (17:56 +0800)
commitddf5a7f3b644915d360f725eca8322187226f171
treed82460f3fe73ef34b9b3649aa5a1cc838dbccba1
parent57b90c098ea7e8caf8fb861e3b7adf77da30ac10
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>
(cherry picked from commit fd77e356d4507405fde352c8bba7d3842518bbdd)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
scripts/lib/devtool/upgrade.py