mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
yocto-check-layer: Remove duplicated code
Nicolas Dechesne spotted there was duplicate code I had introduced with a previous fix. Remove the second statement since the earlier one is correct all that is needed. (From OE-Core rev: aa8e0928bda4a01623552084fc0ac0658e495b53) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f3e8d9f0e53e73de5498fccce81d049a88f6473b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -152,8 +152,6 @@ def main():
|
||||
logger.info("Setting up for %s(%s), %s" % (layer['name'], layer['type'],
|
||||
layer['path']))
|
||||
|
||||
shutil.copyfile(bblayersconf + '.backup', bblayersconf)
|
||||
|
||||
missing_dependencies = not add_layer_dependencies(bblayersconf, layer, dep_layers, logger)
|
||||
if not missing_dependencies:
|
||||
for additional_layer in additional_layers:
|
||||
|
||||
Reference in New Issue
Block a user