]> code.ossystems Code Review - openembedded-core.git/commit
devtool: finish: fix erroneously creating bbappend for relative paths
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 26 Feb 2018 01:49:57 +0000 (14:49 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 Mar 2018 22:09:17 +0000 (22:09 +0000)
commita85a78dcf226d160e9b504bfa67b306a9175ac29
treee6e188344b91f230a79f3745bc9dc82fe410205e
parent751d27600a3df18d96baaa48696acf33ee964bec
devtool: finish: fix erroneously creating bbappend for relative paths

After OE-Core rev 5e3fe00a0233d563781849a44f53885b4e924a9c we call
os.path.abspath() on the original layer path, but we later compare that
to the destination layer path. If that layer path isn't absolute but is
effectively the same path, it should be writing to the original recipe
but because we weren't making it absolute we were writing a bbappend
instead. Call os.path.abspath() on the destination path as well to avoid
that.

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