Skip to contentSkip to conversation

yocto-check-layer: Remove duplicated code

PATCH New Richard Purdie 1 participant 1 message Jul 22, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 scripts/yocto-check-layer | 2 --
 1 file changed, 2 deletions(-)
scripts/yocto-check-layer +0 -2
index 44e77b73d0d..05494e752ca 100755
@@ -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:
Signature · 1 line
2.30.2