mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
update.py: explicitly check for existence of conf/layer.conf
Rather than letting BitBake error out, just check for existence of this file and print a single error line if it doesn't exist. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
cb5ce087c2
commit
65d3f55925
|
@ -362,6 +362,11 @@ def main():
|
||||||
transaction.rollback()
|
transaction.rollback()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if not os.path.exists(os.path.join(layerdir, 'conf/layer.conf')):
|
||||||
|
logger.error("conf/layer.conf not found for layer %s - is subdirectory set correctly?" % layer.name)
|
||||||
|
transaction.rollback()
|
||||||
|
continue
|
||||||
|
|
||||||
logger.info("Collecting data for layer %s on branch %s" % (layer.name, options.branch))
|
logger.info("Collecting data for layer %s on branch %s" % (layer.name, options.branch))
|
||||||
|
|
||||||
# Parse layer.conf files for this layer and its dependencies
|
# Parse layer.conf files for this layer and its dependencies
|
||||||
|
|
Loading…
Reference in New Issue
Block a user