]> code.ossystems Code Review - openembedded-core.git/commit
devtool: fix handling of oe-local-files when source is in a subdirectory
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 29 Sep 2017 02:26:22 +0000 (15:26 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Nov 2017 14:44:31 +0000 (14:44 +0000)
commit30d2ea67b2c4727e23d06a35745b1afa64b130cc
treeebc2d3b6578925fd74bfb224c8eb5d73e9d11e92
parent8b184f6c874b60324ee107af53853687173d3434
devtool: fix handling of oe-local-files when source is in a subdirectory

If S points to a subdirectory of the source rather than the "base" of
the source tree then we weren't handling the oe-local-files directory
properly - it got extracted to the base of the tree but devtool
update-recipe and devtool finish assumed it would be under S which would
be the subdirectory, thus it would be missing and devtool would assume
the files had been deleted and remove them from the recipe. Record the
base of the source tree in the bbappend and read it into the in-memory
workspace so we can use that to find out where oe-local-files should be
found.

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