]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/recipeutils: fix a few issues in find_layerdir()
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 13 Jul 2016 21:04:21 +0000 (09:04 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:24:53 +0000 (10:24 +0100)
commit912026d85c2f535be2f60c45979162ea25c7f356
tree107f2f7ed3bc80906ac04ce0d2bfea400a2dc751
parent9230bfcc839eb35630949f0a8ed058ca1fa944b1
lib/oe/recipeutils: fix a few issues in find_layerdir()

* Allow the function to be called with the base layer path (in which
  case it will just return the same path)
* Ensure that the function doesn't recurse indefinitely if it's called
  on a file that's not inside a layer
* Correct the doc comment for accuracy

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/recipeutils.py