]> code.ossystems Code Review - openembedded-core.git/commit
devtool: finish: fix "layer not in bblayers.conf" warning when path specified
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 2 Oct 2017 02:45:49 +0000 (15:45 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Nov 2017 14:44:31 +0000 (14:44 +0000)
commitab1b8d55e551fea3e8656aab7a786d1bfec62d0f
treed385e3b52a99eb4578203d8abcee99dd012d475b
parentbfebd18982c0c82ef2da63ec8f22175c93b2e308
devtool: finish: fix "layer not in bblayers.conf" warning when path specified

devtool finish will check if the destination layer is part of
bblayers.conf so that we avoid the user getting confused about the
recipe vanishing from their configuration if it isn't. devtool finish
also accepts a path underneath a layer so that you have a bit
more control over where it ends up. However if you used a path
underneath a layer then it wasn't converting this to the base of the
layer before checking it against BBLAYERS, thus the warning was being
shown erroneously in that case.

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