summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-22 10:53:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-24 16:33:42 +0100
commitf3e8d9f0e53e73de5498fccce81d049a88f6473b (patch)
tree53eba5010281cb0eec0c41f3ed652499be6c6e42 /scripts
parent71f1f6bc9402ee0fad82aaf0757fffb73da4b706 (diff)
downloadopenembedded-core-f3e8d9f0e53e73de5498fccce81d049a88f6473b.tar.gz
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. 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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/yocto-check-layer2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer
index 44e77b73d0..05494e752c 100755
--- a/scripts/yocto-check-layer
+++ b/scripts/yocto-check-layer
@@ -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: